mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-10 11:10:07 +08:00
@@ -6,8 +6,8 @@ class Button {
|
||||
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?,
|
||||
);
|
||||
type: json['type'] as int?,
|
||||
text: json['text'] as String?,
|
||||
jumpUrl: json['jump_url'] as String?,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user