BareMetalStorageConfig.fromJson constructor

BareMetalStorageConfig.fromJson(
  1. Map json_
)

Implementation

BareMetalStorageConfig.fromJson(core.Map json_)
    : this(
        lvpNodeMountsConfig: json_.containsKey('lvpNodeMountsConfig')
            ? BareMetalLvpConfig.fromJson(json_['lvpNodeMountsConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        lvpShareConfig: json_.containsKey('lvpShareConfig')
            ? BareMetalLvpShareConfig.fromJson(json_['lvpShareConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
      );