ListClientsResponse.fromJson constructor

ListClientsResponse.fromJson(
  1. Map _json
)

Implementation

ListClientsResponse.fromJson(core.Map _json)
    : this(
        clients: _json.containsKey('clients')
            ? (_json['clients'] as core.List)
                .map<Client>((value) => Client.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
      );