mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-26 02:58:39 +00:00
refa: article (#757)
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
19
lib/models/dynamics/opus_detail/fallback.dart
Normal file
19
lib/models/dynamics/opus_detail/fallback.dart
Normal file
@@ -0,0 +1,19 @@
|
||||
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,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user