mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-27 12:36:27 +08:00
14 lines
371 B
Dart
14 lines
371 B
Dart
import 'package:PiliPlus/models_new/live/live_superchat/item.dart';
|
|
|
|
class SuperChatData {
|
|
List<SuperChatItem>? list;
|
|
|
|
SuperChatData({this.list});
|
|
|
|
factory SuperChatData.fromJson(Map<String, dynamic> json) => SuperChatData(
|
|
list: (json['list'] as List<dynamic>?)
|
|
?.map((e) => SuperChatItem.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
);
|
|
}
|