mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-22 19:51:11 +08:00
23
lib/models_new/live/live_emote/emoticon.dart
Normal file
23
lib/models_new/live/live_emote/emoticon.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
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?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user