ListEnvironmentsResponse.fromJson constructor
ListEnvironmentsResponse.fromJson(
- Map _json
Implementation
ListEnvironmentsResponse.fromJson(core.Map _json)
: this(
environments: _json.containsKey('environments')
? (_json['environments'] as core.List)
.map<Environment>((value) => Environment.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
executionId: _json.containsKey('executionId')
? _json['executionId'] as core.String
: null,
historyId: _json.containsKey('historyId')
? _json['historyId'] as core.String
: null,
nextPageToken: _json.containsKey('nextPageToken')
? _json['nextPageToken'] as core.String
: null,
projectId: _json.containsKey('projectId')
? _json['projectId'] as core.String
: null,
);