NodeManagement.fromJson constructor

NodeManagement.fromJson(
  1. Map json_
)

Implementation

NodeManagement.fromJson(core.Map json_)
    : this(
        autoRepair: json_.containsKey('autoRepair')
            ? json_['autoRepair'] as core.bool
            : null,
        autoUpgrade: json_.containsKey('autoUpgrade')
            ? json_['autoUpgrade'] as core.bool
            : null,
        upgradeOptions: json_.containsKey('upgradeOptions')
            ? AutoUpgradeOptions.fromJson(json_['upgradeOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
      );