GoogleCloudDocumentaiV1beta3DocumentTextAnchor.fromJson constructor

GoogleCloudDocumentaiV1beta3DocumentTextAnchor.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDocumentaiV1beta3DocumentTextAnchor.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) =>
                    GoogleCloudDocumentaiV1beta3DocumentTextAnchorTextSegment
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );