MedicalTranscriptionJobSummary.fromJson constructor
Implementation
factory MedicalTranscriptionJobSummary.fromJson(Map<String, dynamic> json) {
return MedicalTranscriptionJobSummary(
completionTime: timeStampFromJson(json['CompletionTime']),
creationTime: timeStampFromJson(json['CreationTime']),
failureReason: json['FailureReason'] as String?,
languageCode: (json['LanguageCode'] as String?)?.toLanguageCode(),
medicalTranscriptionJobName:
json['MedicalTranscriptionJobName'] as String?,
outputLocationType:
(json['OutputLocationType'] as String?)?.toOutputLocationType(),
specialty: (json['Specialty'] as String?)?.toSpecialty(),
startTime: timeStampFromJson(json['StartTime']),
transcriptionJobStatus: (json['TranscriptionJobStatus'] as String?)
?.toTranscriptionJobStatus(),
type: (json['Type'] as String?)?.toType(),
);
}