mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 20:12:35 +08:00
16 lines
391 B
Dart
16 lines
391 B
Dart
import 'package:PiliPlus/models_new/space/space/colour.dart';
|
|
|
|
class Honours {
|
|
Colour? colour;
|
|
List<dynamic>? tags;
|
|
|
|
Honours({this.colour, this.tags});
|
|
|
|
factory Honours.fromJson(Map<String, dynamic> json) => Honours(
|
|
colour: json['colour'] == null
|
|
? null
|
|
: Colour.fromJson(json['colour'] as Map<String, dynamic>),
|
|
tags: json['tags'] as List<dynamic>?,
|
|
);
|
|
}
|