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