mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-23 10:36:24 +08:00
12 lines
250 B
Dart
12 lines
250 B
Dart
class Coin {
|
|
int? maxNum;
|
|
int? coinNumber;
|
|
|
|
Coin({this.maxNum, this.coinNumber});
|
|
|
|
factory Coin.fromJson(Map<String, dynamic> json) => Coin(
|
|
maxNum: json['max_num'] as int?,
|
|
coinNumber: json['coin_number'] as int?,
|
|
);
|
|
}
|