GoogleCloudDocumentaiV1ListProcessorVersionsResponse.fromJson constructor

GoogleCloudDocumentaiV1ListProcessorVersionsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1ListProcessorVersionsResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        processorVersions: json_.containsKey('processorVersions')
            ? (json_['processorVersions'] as core.List)
                .map((value) =>
                    GoogleCloudDocumentaiV1ProcessorVersion.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );