refa: article (#757)

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
dom
2025-04-26 14:54:22 +08:00
committed by GitHub
parent 64f7ba2a1a
commit 40fb93f036
87 changed files with 2628 additions and 993 deletions

View File

@@ -0,0 +1,22 @@
class LikeIcon {
String? actionUrl;
String? endUrl;
int? id;
String? startUrl;
LikeIcon({this.actionUrl, this.endUrl, this.id, this.startUrl});
factory LikeIcon.fromJson(Map<String, dynamic> json) => LikeIcon(
actionUrl: json['action_url'] as String?,
endUrl: json['end_url'] as String?,
id: json['id'] as int?,
startUrl: json['start_url'] as String?,
);
Map<String, dynamic> toJson() => {
'action_url': actionUrl,
'end_url': endUrl,
'id': id,
'start_url': startUrl,
};
}