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