AuthzPolicyAuthzRuleToRequestOperationMCP.fromJson constructor

AuthzPolicyAuthzRuleToRequestOperationMCP.fromJson(
  1. Map json_
)

Implementation

AuthzPolicyAuthzRuleToRequestOperationMCP.fromJson(core.Map json_)
  : this(
      baseProtocolMethodsOption:
          json_['baseProtocolMethodsOption'] as core.String?,
      methods: (json_['methods'] as core.List?)
          ?.map(
            (value) =>
                AuthzPolicyAuthzRuleToRequestOperationMCPMethod.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
    );