ListSessionsResponse.fromJson constructor
ListSessionsResponse.fromJson(
- Map json_
Implementation
ListSessionsResponse.fromJson(core.Map json_)
: this(
deletedSession: json_.containsKey('deletedSession')
? (json_['deletedSession'] as core.List)
.map((value) => Session.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
hasMoreData: json_.containsKey('hasMoreData')
? json_['hasMoreData'] as core.bool
: null,
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
session: json_.containsKey('session')
? (json_['session'] as core.List)
.map((value) => Session.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);