mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 01:26:59 +08:00
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user