mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
handle relation url
Closes #1566 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1,19 +1,13 @@
|
||||
class RejectPage {
|
||||
String? title;
|
||||
String? text;
|
||||
String? img;
|
||||
String? title;
|
||||
String? text;
|
||||
String? img;
|
||||
|
||||
RejectPage({this.title, this.text, this.img});
|
||||
RejectPage({this.title, this.text, this.img});
|
||||
|
||||
factory RejectPage.fromJson(Map<String, dynamic> json) => RejectPage(
|
||||
title: json['title'] as String?,
|
||||
text: json['text'] as String?,
|
||||
img: json['img'] as String?,
|
||||
);
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
'title': title,
|
||||
'text': text,
|
||||
'img': img,
|
||||
};
|
||||
factory RejectPage.fromJson(Map<String, dynamic> json) => RejectPage(
|
||||
title: json['title'] as String?,
|
||||
text: json['text'] as String?,
|
||||
img: json['img'] as String?,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user