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
20 lines
368 B
Dart
20 lines
368 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
import 'colour.dart';
|
|
|
|
part 'honours.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class Honours {
|
|
Colour? colour;
|
|
List<dynamic>? tags;
|
|
|
|
Honours({this.colour, this.tags});
|
|
|
|
factory Honours.fromJson(Map<String, dynamic> json) {
|
|
return _$HonoursFromJson(json);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() => _$HonoursToJson(this);
|
|
}
|