mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
* refactor: member page * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
24 lines
447 B
Dart
24 lines
447 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
import 'tags.dart';
|
|
|
|
part 'layer_config.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class LayerConfig {
|
|
// Tags? tags;
|
|
@JsonKey(name: 'is_critical')
|
|
bool? isCritical;
|
|
|
|
LayerConfig({
|
|
// this.tags,
|
|
this.isCritical,
|
|
});
|
|
|
|
factory LayerConfig.fromJson(Map<String, dynamic> json) {
|
|
return _$LayerConfigFromJson(json);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() => _$LayerConfigToJson(this);
|
|
}
|