GoogleCloudDocumentaiV1DocumentProvenance.fromJson constructor

GoogleCloudDocumentaiV1DocumentProvenance.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1DocumentProvenance.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.int : null,
        parents: json_.containsKey('parents')
            ? (json_['parents'] as core.List)
                .map((value) =>
                    GoogleCloudDocumentaiV1DocumentProvenanceParent.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        revision: json_.containsKey('revision')
            ? json_['revision'] as core.int
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );