mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 17:46:24 +08:00
@@ -4,14 +4,14 @@ part 'colour.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Colour {
|
||||
String? dark;
|
||||
String? normal;
|
||||
String? dark;
|
||||
String? normal;
|
||||
|
||||
Colour({this.dark, this.normal});
|
||||
Colour({this.dark, this.normal});
|
||||
|
||||
factory Colour.fromJson(Map<String, dynamic> json) {
|
||||
return _$ColourFromJson(json);
|
||||
}
|
||||
factory Colour.fromJson(Map<String, dynamic> json) {
|
||||
return _$ColourFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$ColourToJson(this);
|
||||
Map<String, dynamic> toJson() => _$ColourToJson(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user