mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 01:26:59 +08:00
24 lines
484 B
Dart
24 lines
484 B
Dart
class Emoticon {
|
|
String? emoji;
|
|
String? url;
|
|
int? width;
|
|
int? height;
|
|
String? emoticonUnique;
|
|
|
|
Emoticon({
|
|
this.emoji,
|
|
this.url,
|
|
this.width,
|
|
this.height,
|
|
this.emoticonUnique,
|
|
});
|
|
|
|
factory Emoticon.fromJson(Map<String, dynamic> json) => Emoticon(
|
|
emoji: json['emoji'] as String?,
|
|
url: json['url'] as String?,
|
|
width: json['width'] as int?,
|
|
height: json['height'] as int?,
|
|
emoticonUnique: json['emoticon_unique'] as String?,
|
|
);
|
|
}
|