EnterpriseCrmEventbusProtoConditionalFailurePolicies.fromJson constructor

EnterpriseCrmEventbusProtoConditionalFailurePolicies.fromJson(
  1. Map json_
)

Implementation

EnterpriseCrmEventbusProtoConditionalFailurePolicies.fromJson(core.Map json_)
    : this(
        defaultFailurePolicy: json_.containsKey('defaultFailurePolicy')
            ? EnterpriseCrmEventbusProtoFailurePolicy.fromJson(
                json_['defaultFailurePolicy']
                    as core.Map<core.String, core.dynamic>)
            : null,
        failurePolicies: json_.containsKey('failurePolicies')
            ? (json_['failurePolicies'] as core.List)
                .map((value) =>
                    EnterpriseCrmEventbusProtoFailurePolicy.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );