DetectorModelVersionSummary.fromJson constructor
DetectorModelVersionSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DetectorModelVersionSummary.fromJson(Map<String, dynamic> json) {
return DetectorModelVersionSummary(
creationTime: timeStampFromJson(json['creationTime']),
detectorModelArn: json['detectorModelArn'] as String?,
detectorModelName: json['detectorModelName'] as String?,
detectorModelVersion: json['detectorModelVersion'] as String?,
evaluationMethod:
(json['evaluationMethod'] as String?)?.toEvaluationMethod(),
lastUpdateTime: timeStampFromJson(json['lastUpdateTime']),
roleArn: json['roleArn'] as String?,
status: (json['status'] as String?)?.toDetectorModelVersionStatus(),
);
}