UpgradeStatus.fromJson constructor
UpgradeStatus.fromJson(
- Map json_
Implementation
UpgradeStatus.fromJson(core.Map json_)
: this(
error: json_.containsKey('error')
? Status.fromJson(
json_['error'] as core.Map<core.String, core.dynamic>)
: null,
previousVersion: json_.containsKey('previousVersion')
? json_['previousVersion'] as core.String
: null,
startTime: json_.containsKey('startTime')
? json_['startTime'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
version: json_.containsKey('version')
? json_['version'] as core.String
: null,
);