mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-25 11:36:45 +08:00
17 lines
470 B
Dart
17 lines
470 B
Dart
import 'package:PiliPlus/models_new/member/coin_like_arc/item.dart';
|
|
|
|
class CoinLikeArcData {
|
|
int? count;
|
|
List<CoinLikeArcItem>? item;
|
|
|
|
CoinLikeArcData({this.count, this.item});
|
|
|
|
factory CoinLikeArcData.fromJson(Map<String, dynamic> json) =>
|
|
CoinLikeArcData(
|
|
count: json['count'] as int?,
|
|
item: (json['item'] as List<dynamic>?)
|
|
?.map((e) => CoinLikeArcItem.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
);
|
|
}
|