mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-04 17:17:48 +08:00
15
lib/models_new/space/space/honours.dart
Normal file
15
lib/models_new/space/space/honours.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
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>?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user