GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage.fromJson constructor

GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage.fromJson(
    core.Map _json)
    : this(
        confidence: _json.containsKey('confidence')
            ? (_json['confidence'] as core.num).toDouble()
            : null,
        languageCode: _json.containsKey('languageCode')
            ? _json['languageCode'] as core.String
            : null,
      );