toJson method

Map<String, dynamic> toJson()

Implementation

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