ListFacetNamesResponse.fromJson constructor
Implementation
factory ListFacetNamesResponse.fromJson(Map<String, dynamic> json) {
return ListFacetNamesResponse(
facetNames: (json['FacetNames'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
nextToken: json['NextToken'] as String?,
);
}