VmCapabilities.fromJson constructor

VmCapabilities.fromJson(
  1. Map json_
)

Implementation

VmCapabilities.fromJson(core.Map json_)
    : this(
        lastOsCapabilitiesUpdateTime:
            json_.containsKey('lastOsCapabilitiesUpdateTime')
                ? json_['lastOsCapabilitiesUpdateTime'] as core.String
                : null,
        osCapabilities: json_.containsKey('osCapabilities')
            ? (json_['osCapabilities'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );