Files
PiliPlus/lib/models_new/space/space/button.dart
bggRGjQaUbCoE 418a1e8d39 reformat
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-07-23 16:47:11 +08:00

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?,
);
}