toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (grpcServiceName != null) 'grpcServiceName': grpcServiceName!,
  if (port != null) 'port': port!,
  if (portName != null) 'portName': portName!,
  if (portSpecification != null) 'portSpecification': portSpecification!,
};