mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 12:10:33 +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?,
|
|
);
|
|
}
|