toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final cidrs = this.cidrs;
  final count = this.count;
  final number = this.number;
  final numbers = this.numbers;
  final ports = this.ports;
  final strings = this.strings;
  return {
    if (cidrs != null) 'cidrs': cidrs,
    if (count != null) 'count': count,
    if (number != null) 'number': number,
    if (numbers != null) 'numbers': numbers,
    if (ports != null) 'ports': ports,
    if (strings != null) 'strings': strings,
  };
}