DocumentInputConfig.fromJson constructor

DocumentInputConfig.fromJson(
  1. Map json_
)

Implementation

DocumentInputConfig.fromJson(core.Map json_)
    : this(
        content: json_.containsKey('content')
            ? json_['content'] as core.String
            : null,
        gcsSource: json_.containsKey('gcsSource')
            ? GcsSource.fromJson(
                json_['gcsSource'] as core.Map<core.String, core.dynamic>)
            : null,
        mimeType: json_.containsKey('mimeType')
            ? json_['mimeType'] as core.String
            : null,
      );