mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
* refactor: member page * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
18 lines
332 B
Dart
18 lines
332 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'colour.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class Colour {
|
|
String? dark;
|
|
String? normal;
|
|
|
|
Colour({this.dark, this.normal});
|
|
|
|
factory Colour.fromJson(Map<String, dynamic> json) {
|
|
return _$ColourFromJson(json);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() => _$ColourToJson(this);
|
|
}
|