ListVocabularyFiltersResponse.fromJson constructor

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

Implementation

factory ListVocabularyFiltersResponse.fromJson(Map<String, dynamic> json) {
  return ListVocabularyFiltersResponse(
    nextToken: json['NextToken'] as String?,
    vocabularyFilters: (json['VocabularyFilters'] as List?)
        ?.whereNotNull()
        .map((e) => VocabularyFilterInfo.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}