GoogleCloudDocumentaiV1DocumentTextAnchor.fromJson constructor

GoogleCloudDocumentaiV1DocumentTextAnchor.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1DocumentTextAnchor.fromJson(core.Map json_)
  : this(
      content: json_['content'] as core.String?,
      textSegments: (json_['textSegments'] as core.List?)
          ?.map(
            (value) =>
                GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
    );