VmwarePlatformConfig.fromJson constructor

VmwarePlatformConfig.fromJson(
  1. Map json_
)

Implementation

VmwarePlatformConfig.fromJson(core.Map json_)
    : this(
        bundles: json_.containsKey('bundles')
            ? (json_['bundles'] as core.List)
                .map((value) => VmwareBundleConfig.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        platformVersion: json_.containsKey('platformVersion')
            ? json_['platformVersion'] as core.String
            : null,
        requiredPlatformVersion: json_.containsKey('requiredPlatformVersion')
            ? json_['requiredPlatformVersion'] as core.String
            : null,
        status: json_.containsKey('status')
            ? ResourceStatus.fromJson(
                json_['status'] as core.Map<core.String, core.dynamic>)
            : null,
      );