Termination.fromJson constructor
Termination.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Termination.fromJson(Map<String, dynamic> json) {
return Termination(
callingRegions: (json['CallingRegions'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
cidrAllowedList: (json['CidrAllowedList'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
cpsLimit: json['CpsLimit'] as int?,
defaultPhoneNumber: json['DefaultPhoneNumber'] as String?,
disabled: json['Disabled'] as bool?,
);
}