FleetObservabilityFleetObservabilityBaseFeatureState.fromJson constructor

FleetObservabilityFleetObservabilityBaseFeatureState.fromJson(
  1. Map json_
)

Implementation

FleetObservabilityFleetObservabilityBaseFeatureState.fromJson(core.Map json_)
    : this(
        code: json_.containsKey('code') ? json_['code'] as core.String : null,
        errors: json_.containsKey('errors')
            ? (json_['errors'] as core.List)
                .map((value) => FleetObservabilityFeatureError.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );