mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 11:06:51 +08:00
@@ -12,10 +12,10 @@ class Package {
|
||||
});
|
||||
|
||||
factory Package.fromJson(Map<String, dynamic> json) => Package(
|
||||
url: json['url'] as String?,
|
||||
type: json['type'] as int?,
|
||||
emote: (json['emote'] as List<dynamic>?)
|
||||
?.map((e) => Emote.fromJson(e as Map<String, dynamic>))
|
||||
.toList(),
|
||||
);
|
||||
url: json['url'] as String?,
|
||||
type: json['type'] as int?,
|
||||
emote: (json['emote'] as List<dynamic>?)
|
||||
?.map((e) => Emote.fromJson(e as Map<String, dynamic>))
|
||||
.toList(),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user