VmwareVsphereConfig.fromJson constructor

VmwareVsphereConfig.fromJson(
  1. Map json_
)

Implementation

VmwareVsphereConfig.fromJson(core.Map json_)
  : this(
      datastore: json_['datastore'] as core.String?,
      hostGroups: (json_['hostGroups'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      tags: (json_['tags'] as core.List?)
          ?.map(
            (value) => VmwareVsphereTag.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
    );