mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
17 lines
335 B
Dart
17 lines
335 B
Dart
class IconFont {
|
|
String? name;
|
|
String? text;
|
|
|
|
IconFont({this.name, this.text});
|
|
|
|
factory IconFont.fromJson(Map<String, dynamic> json) => IconFont(
|
|
name: json['name'] as String?,
|
|
text: json['text'] as String?,
|
|
);
|
|
|
|
Map<String, dynamic> toJson() => {
|
|
'name': name,
|
|
'text': text,
|
|
};
|
|
}
|