toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (lastRebootTime != null) 'lastRebootTime': lastRebootTime!,
      if (lastUpdateCheckTime != null)
        'lastUpdateCheckTime': lastUpdateCheckTime!,
      if (lastUpdateTime != null) 'lastUpdateTime': lastUpdateTime!,
      if (newPlatformVersion != null)
        'newPlatformVersion': newPlatformVersion!,
      if (newRequestedPlatformVersion != null)
        'newRequestedPlatformVersion': newRequestedPlatformVersion!,
      if (updateState != null) 'updateState': updateState!,
    };