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