mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-20 00:56:31 +08:00
@@ -4,14 +4,14 @@ part 'size_spec.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class SizeSpec {
|
||||
double? width;
|
||||
double? height;
|
||||
double? width;
|
||||
double? height;
|
||||
|
||||
SizeSpec({this.width, this.height});
|
||||
SizeSpec({this.width, this.height});
|
||||
|
||||
factory SizeSpec.fromJson(Map<String, dynamic> json) {
|
||||
return _$SizeSpecFromJson(json);
|
||||
}
|
||||
factory SizeSpec.fromJson(Map<String, dynamic> json) {
|
||||
return _$SizeSpecFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$SizeSpecToJson(this);
|
||||
Map<String, dynamic> toJson() => _$SizeSpecToJson(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user