mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-04 17:50:13 +08:00
@@ -3,12 +3,15 @@ class CoinLogItem {
|
||||
final String delta;
|
||||
final String reason;
|
||||
|
||||
const CoinLogItem(
|
||||
{required this.time, required this.delta, required this.reason});
|
||||
const CoinLogItem({
|
||||
required this.time,
|
||||
required this.delta,
|
||||
required this.reason,
|
||||
});
|
||||
|
||||
factory CoinLogItem.fromJson(Map<String, dynamic> json) => CoinLogItem(
|
||||
time: json['time'],
|
||||
delta: (json['delta'] as num).toString(),
|
||||
reason: json['reason'],
|
||||
);
|
||||
time: json['time'],
|
||||
delta: (json['delta'] as num).toString(),
|
||||
reason: json['reason'],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user