mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-19 08:36:17 +08:00
14 lines
382 B
Dart
14 lines
382 B
Dart
import 'package:PiliPlus/models_new/dynamic/dyn_mention/group.dart';
|
|
|
|
class DynMentionData {
|
|
List<MentionGroup>? groups;
|
|
|
|
DynMentionData({this.groups});
|
|
|
|
factory DynMentionData.fromJson(Map<String, dynamic> json) => DynMentionData(
|
|
groups: (json['groups'] as List<dynamic>?)
|
|
?.map((e) => MentionGroup.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
);
|
|
}
|