RiskExceptionConfigurationType.fromJson constructor

RiskExceptionConfigurationType.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory RiskExceptionConfigurationType.fromJson(Map<String, dynamic> json) {
  return RiskExceptionConfigurationType(
    blockedIPRangeList: (json['BlockedIPRangeList'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    skippedIPRangeList: (json['SkippedIPRangeList'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}