ListApprovalRequestsResponse.fromJson constructor

ListApprovalRequestsResponse.fromJson(
  1. Map json_
)

Implementation

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