OsUpdateStatus.fromJson constructor

OsUpdateStatus.fromJson(
  1. Map json_
)

Implementation

OsUpdateStatus.fromJson(core.Map json_)
    : this(
        rebootTime: json_.containsKey('rebootTime')
            ? json_['rebootTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        targetKioskAppVersion: json_.containsKey('targetKioskAppVersion')
            ? json_['targetKioskAppVersion'] as core.String
            : null,
        targetOsVersion: json_.containsKey('targetOsVersion')
            ? json_['targetOsVersion'] as core.String
            : null,
        updateCheckTime: json_.containsKey('updateCheckTime')
            ? json_['updateCheckTime'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );