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

@@ -6,16 +6,16 @@ part 'draw.g.dart';
@JsonSerializable()
class Draw {
@JsonKey(name: 'draw_type')
int? drawType;
@JsonKey(name: 'fill_mode')
int? fillMode;
@JsonKey(name: 'color_config')
ColorConfig? colorConfig;
@JsonKey(name: 'draw_type')
int? drawType;
@JsonKey(name: 'fill_mode')
int? fillMode;
@JsonKey(name: 'color_config')
ColorConfig? colorConfig;
Draw({this.drawType, this.fillMode, this.colorConfig});
Draw({this.drawType, this.fillMode, this.colorConfig});
factory Draw.fromJson(Map<String, dynamic> json) => _$DrawFromJson(json);
factory Draw.fromJson(Map<String, dynamic> json) => _$DrawFromJson(json);
Map<String, dynamic> toJson() => _$DrawToJson(this);
Map<String, dynamic> toJson() => _$DrawToJson(this);
}