Files
PiliPlus/lib/models_new/space/space/button.dart
bggRGjQaUbCoE b960359a39 opt models
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-06-05 14:44:56 +08:00

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