mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-27 12:36:27 +08:00
14 lines
293 B
Dart
14 lines
293 B
Dart
class Button {
|
|
int? type;
|
|
String? text;
|
|
String? jumpUrl;
|
|
|
|
Button({this.type, this.text, this.jumpUrl});
|
|
|
|
factory Button.fromJson(Map<String, dynamic> json) => Button(
|
|
type: json['type'] as int?,
|
|
text: json['text'] as String?,
|
|
jumpUrl: json['jump_url'] as String?,
|
|
);
|
|
}
|