QueryBareMetalVersionConfigResponse.fromJson constructor

QueryBareMetalVersionConfigResponse.fromJson(
  1. Map json_
)

Implementation

QueryBareMetalVersionConfigResponse.fromJson(core.Map json_)
    : this(
        versions: json_.containsKey('versions')
            ? (json_['versions'] as core.List)
                .map((value) => BareMetalVersionInfo.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );