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 'resource.g.dart';
@JsonSerializable()
class Resource {
@JsonKey(name: 'res_type')
int? resType;
@JsonKey(name: 'res_native_draw')
ResNativeDraw? resNativeDraw;
@JsonKey(name: 'res_type')
int? resType;
@JsonKey(name: 'res_native_draw')
ResNativeDraw? resNativeDraw;
Resource({this.resType, this.resNativeDraw});
Resource({this.resType, this.resNativeDraw});
factory Resource.fromJson(Map<String, dynamic> json) {
return _$ResourceFromJson(json);
}
factory Resource.fromJson(Map<String, dynamic> json) {
return _$ResourceFromJson(json);
}
Map<String, dynamic> toJson() => _$ResourceToJson(this);
Map<String, dynamic> toJson() => _$ResourceToJson(this);
}