ListHITsResponse.fromJson constructor
Implementation
factory ListHITsResponse.fromJson(Map<String, dynamic> json) {
return ListHITsResponse(
hITs: (json['HITs'] as List?)
?.whereNotNull()
.map((e) => HIT.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
numResults: json['NumResults'] as int?,
);
}