AuthzPolicyAuthzRule.fromJson constructor

AuthzPolicyAuthzRule.fromJson(
  1. Map json_
)

Implementation

AuthzPolicyAuthzRule.fromJson(core.Map json_)
  : this(
      from: json_.containsKey('from')
          ? AuthzPolicyAuthzRuleFrom.fromJson(
              json_['from'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      to: json_.containsKey('to')
          ? AuthzPolicyAuthzRuleTo.fromJson(
              json_['to'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      when: json_['when'] as core.String?,
    );