GoogleCloudDocumentaiV1beta2DocumentPageAnchor.fromJson constructor

GoogleCloudDocumentaiV1beta2DocumentPageAnchor.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDocumentaiV1beta2DocumentPageAnchor.fromJson(core.Map _json)
    : this(
        pageRefs: _json.containsKey('pageRefs')
            ? (_json['pageRefs'] as core.List)
                .map<GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef>(
                    (value) =>
                        GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef
                            .fromJson(
                                value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );