DescribeEventCategoriesResponse.fromJson constructor

DescribeEventCategoriesResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DescribeEventCategoriesResponse.fromJson(Map<String, dynamic> json) {
  return DescribeEventCategoriesResponse(
    eventCategoryGroupList: (json['EventCategoryGroupList'] as List?)
        ?.whereNotNull()
        .map((e) => EventCategoryGroup.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}