GuestRuntimeDetails.fromJson constructor

GuestRuntimeDetails.fromJson(
  1. Map json_
)

Implementation

GuestRuntimeDetails.fromJson(core.Map json_)
    : this(
        domain: json_.containsKey('domain')
            ? json_['domain'] as core.String
            : null,
        installedApps: json_.containsKey('installedApps')
            ? GuestInstalledApplicationList.fromJson(
                json_['installedApps'] as core.Map<core.String, core.dynamic>)
            : null,
        lastBootTime: json_.containsKey('lastBootTime')
            ? json_['lastBootTime'] as core.String
            : null,
        machineName: json_.containsKey('machineName')
            ? json_['machineName'] as core.String
            : null,
        network: json_.containsKey('network')
            ? RuntimeNetworkInfo.fromJson(
                json_['network'] as core.Map<core.String, core.dynamic>)
            : null,
        openFileList: json_.containsKey('openFileList')
            ? OpenFileList.fromJson(
                json_['openFileList'] as core.Map<core.String, core.dynamic>)
            : null,
        processes: json_.containsKey('processes')
            ? RunningProcessList.fromJson(
                json_['processes'] as core.Map<core.String, core.dynamic>)
            : null,
        services: json_.containsKey('services')
            ? RunningServiceList.fromJson(
                json_['services'] as core.Map<core.String, core.dynamic>)
            : null,
      );