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