GoogleCloudDocumentaiV1DocumentTextAnchor.fromJson constructor

GoogleCloudDocumentaiV1DocumentTextAnchor.fromJson(
  1. Map json_
)

Implementation

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