ListConnectionsResponse.fromJson constructor
ListConnectionsResponse.fromJson(
- Map json_
Implementation
ListConnectionsResponse.fromJson(core.Map json_)
: this(
connections: json_.containsKey('connections')
? (json_['connections'] as core.List)
.map((value) => Person.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
nextSyncToken: json_.containsKey('nextSyncToken')
? json_['nextSyncToken'] as core.String
: null,
totalItems: json_.containsKey('totalItems')
? json_['totalItems'] as core.int
: null,
totalPeople: json_.containsKey('totalPeople')
? json_['totalPeople'] as core.int
: null,
);