UpgradeHistoryEntry.fromJson constructor

UpgradeHistoryEntry.fromJson(
  1. Map json_
)

Implementation

UpgradeHistoryEntry.fromJson(core.Map json_)
    : this(
        action: json_.containsKey('action')
            ? json_['action'] as core.String
            : null,
        containerImage: json_.containsKey('containerImage')
            ? json_['containerImage'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        framework: json_.containsKey('framework')
            ? json_['framework'] as core.String
            : null,
        snapshot: json_.containsKey('snapshot')
            ? json_['snapshot'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        targetVersion: json_.containsKey('targetVersion')
            ? json_['targetVersion'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
        vmImage: json_.containsKey('vmImage')
            ? json_['vmImage'] as core.String
            : null,
      );