mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-22 01:56:47 +08:00
opt handle res
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
17
lib/models/relation/data.dart
Normal file
17
lib/models/relation/data.dart
Normal file
@@ -0,0 +1,17 @@
|
||||
class Relation {
|
||||
int? mid;
|
||||
int? attribute;
|
||||
int? mtime;
|
||||
dynamic tag;
|
||||
int? special;
|
||||
|
||||
Relation({this.mid, this.attribute, this.mtime, this.tag, this.special});
|
||||
|
||||
factory Relation.fromJson(Map<String, dynamic> json) => Relation(
|
||||
mid: json['mid'] as int?,
|
||||
attribute: json['attribute'] as int?,
|
||||
mtime: json['mtime'] as int?,
|
||||
tag: json['tag'] as dynamic,
|
||||
special: json['special'] as int?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user