Autopilot.fromJson constructor

Autopilot.fromJson(
  1. Map json_
)

Implementation

Autopilot.fromJson(core.Map json_)
    : this(
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        workloadPolicyConfig: json_.containsKey('workloadPolicyConfig')
            ? WorkloadPolicyConfig.fromJson(json_['workloadPolicyConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
      );