EventCategoryGroup.fromJson constructor
Implementation
factory EventCategoryGroup.fromJson(Map<String, dynamic> json) {
return EventCategoryGroup(
eventCategories: (json['EventCategories'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
sourceType: json['SourceType'] as String?,
);
}