GoogleCloudDocumentaiV1beta1InputConfig.fromJson constructor

GoogleCloudDocumentaiV1beta1InputConfig.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDocumentaiV1beta1InputConfig.fromJson(core.Map _json)
    : this(
        gcsSource: _json.containsKey('gcsSource')
            ? GoogleCloudDocumentaiV1beta1GcsSource.fromJson(
                _json['gcsSource'] as core.Map<core.String, core.dynamic>)
            : null,
        mimeType: _json.containsKey('mimeType')
            ? _json['mimeType'] as core.String
            : null,
      );