PolicyControllerMembershipState.fromJson constructor
PolicyControllerMembershipState.fromJson(
- Map json_
Implementation
PolicyControllerMembershipState.fromJson(core.Map json_)
: this(
componentStates: json_.containsKey('componentStates')
? (json_['componentStates']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
PolicyControllerOnClusterState.fromJson(
value as core.Map<core.String, core.dynamic>),
),
)
: null,
policyContentState: json_.containsKey('policyContentState')
? PolicyControllerPolicyContentState.fromJson(
json_['policyContentState']
as core.Map<core.String, core.dynamic>)
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
);