refa: live page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-05 17:03:49 +08:00
parent 7689fe8aa4
commit 562f9035e8
31 changed files with 1334 additions and 461 deletions

View File

@@ -0,0 +1,25 @@
class Avatar {
String? cover;
String? event;
String? text;
int? uid;
String? url;
Avatar({this.cover, this.event, this.text, this.uid, this.url});
factory Avatar.fromJson(Map<String, dynamic> json) => Avatar(
cover: json['cover'] as String?,
event: json['event'] as String?,
text: json['text'] as String?,
uid: json['uid'] as int?,
url: json['url'] as String?,
);
Map<String, dynamic> toJson() => {
'cover': cover,
'event': event,
'text': text,
'uid': uid,
'url': url,
};
}