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