SourceIpConfig.fromJson constructor

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

Implementation

factory SourceIpConfig.fromJson(Map<String, dynamic> json) {
  return SourceIpConfig(
    cidrs: (json['Cidrs'] as List)
        .whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}