mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
20 lines
311 B
Dart
20 lines
311 B
Dart
class Fallback {
|
|
String? id;
|
|
int? type;
|
|
|
|
Fallback({
|
|
this.id,
|
|
this.type,
|
|
});
|
|
|
|
factory Fallback.fromJson(Map<String, dynamic> json) => Fallback(
|
|
id: json['id'],
|
|
type: json['type'],
|
|
);
|
|
|
|
Map<String, dynamic> toJson() => {
|
|
'id': id,
|
|
'type': type,
|
|
};
|
|
}
|