mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-15 22:00:12 +08:00
opt handle res
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
20
lib/models/pgc_lcf.dart
Normal file
20
lib/models/pgc_lcf.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
class PgcLCF {
|
||||
int? coinNumber;
|
||||
int? favorite;
|
||||
int? isOriginal;
|
||||
int? like;
|
||||
|
||||
PgcLCF({
|
||||
this.coinNumber,
|
||||
this.favorite,
|
||||
this.isOriginal,
|
||||
this.like,
|
||||
});
|
||||
|
||||
factory PgcLCF.fromJson(Map<String, dynamic> json) => PgcLCF(
|
||||
coinNumber: json["coin_number"],
|
||||
favorite: json["favorite"],
|
||||
isOriginal: json["is_original"],
|
||||
like: json["like"],
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user