OperatingSystemVersionsListResponse.fromJson constructor

OperatingSystemVersionsListResponse.fromJson(
  1. Map json_
)

Implementation

OperatingSystemVersionsListResponse.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        operatingSystemVersions: json_.containsKey('operatingSystemVersions')
            ? (json_['operatingSystemVersions'] as core.List)
                .map((value) => OperatingSystemVersion.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );