mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-19 08:36:17 +08:00
14 lines
300 B
Dart
14 lines
300 B
Dart
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?,
|
|
);
|
|
}
|