toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (address != null) 'address': address!,
      if (annotations != null) 'annotations': annotations!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (port != null) 'port': port!,
      if (uid != null) 'uid': uid!,
    };