GoogleCloudDocumentaiV1DocumentTextChange.fromJson constructor

GoogleCloudDocumentaiV1DocumentTextChange.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1DocumentTextChange.fromJson(core.Map json_)
    : this(
        changedText: json_.containsKey('changedText')
            ? json_['changedText'] as core.String
            : null,
        provenance: json_.containsKey('provenance')
            ? (json_['provenance'] as core.List)
                .map((value) =>
                    GoogleCloudDocumentaiV1DocumentProvenance.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        textAnchor: json_.containsKey('textAnchor')
            ? GoogleCloudDocumentaiV1DocumentTextAnchor.fromJson(
                json_['textAnchor'] as core.Map<core.String, core.dynamic>)
            : null,
      );