ListWorkflowRevisionsResponse.fromJson constructor

ListWorkflowRevisionsResponse.fromJson(
  1. Map json_
)

Implementation

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