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