mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-05 02:00:13 +08:00
opt handle res
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
13
lib/models/pgc/pgc_info_model/pendant.dart
Normal file
13
lib/models/pgc/pgc_info_model/pendant.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
class Pendant {
|
||||
String? image;
|
||||
String? name;
|
||||
int? pid;
|
||||
|
||||
Pendant({this.image, this.name, this.pid});
|
||||
|
||||
factory Pendant.fromJson(Map<String, dynamic> json) => Pendant(
|
||||
image: json['image'] as String?,
|
||||
name: json['name'] as String?,
|
||||
pid: json['pid'] as int?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user