mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-08 19:17:49 +08:00
refa: article (#757)
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
19
lib/models/dynamics/opus_detail/coin.dart
Normal file
19
lib/models/dynamics/opus_detail/coin.dart
Normal file
@@ -0,0 +1,19 @@
|
||||
class Coin {
|
||||
int? count;
|
||||
bool? forbidden;
|
||||
bool? status;
|
||||
|
||||
Coin({this.count, this.forbidden, this.status});
|
||||
|
||||
factory Coin.fromJson(Map<String, dynamic> json) => Coin(
|
||||
count: json['count'] as int?,
|
||||
forbidden: json['forbidden'] as bool?,
|
||||
status: json['status'] as bool?,
|
||||
);
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
'count': count,
|
||||
'forbidden': forbidden,
|
||||
'status': status,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user