DocumentTranslation.fromJson constructor

DocumentTranslation.fromJson(
  1. Map json_
)

Implementation

DocumentTranslation.fromJson(core.Map json_)
    : this(
        byteStreamOutputs: json_.containsKey('byteStreamOutputs')
            ? (json_['byteStreamOutputs'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        detectedLanguageCode: json_.containsKey('detectedLanguageCode')
            ? json_['detectedLanguageCode'] as core.String
            : null,
        mimeType: json_.containsKey('mimeType')
            ? json_['mimeType'] as core.String
            : null,
      );