toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (ip != null) 'ip': ip!,
      if (labels != null) 'labels': labels!,
      if (port != null) 'port': port!,
      if (principal != null) 'principal': principal!,
      if (regionCode != null) 'regionCode': regionCode!,
    };