mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-04 08:10:20 +08:00
13
lib/models_new/space/space/button.dart
Normal file
13
lib/models_new/space/space/button.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
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?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user