Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-17 18:08:55 +08:00
parent 906c21e252
commit 1d4eabb770
58 changed files with 875 additions and 684 deletions

View File

@@ -8,16 +8,16 @@ part 'layer.g.dart';
@JsonSerializable()
class Layer {
bool? visible;
@JsonKey(name: 'general_spec')
GeneralSpec? generalSpec;
@JsonKey(name: 'layer_config')
LayerConfig? layerConfig;
Resource? resource;
bool? visible;
@JsonKey(name: 'general_spec')
GeneralSpec? generalSpec;
@JsonKey(name: 'layer_config')
LayerConfig? layerConfig;
Resource? resource;
Layer({this.visible, this.generalSpec, this.layerConfig, this.resource});
Layer({this.visible, this.generalSpec, this.layerConfig, this.resource});
factory Layer.fromJson(Map<String, dynamic> json) => _$LayerFromJson(json);
factory Layer.fromJson(Map<String, dynamic> json) => _$LayerFromJson(json);
Map<String, dynamic> toJson() => _$LayerToJson(this);
Map<String, dynamic> toJson() => _$LayerToJson(this);
}