toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (consumerNetwork != null) 'consumerNetwork': consumerNetwork!,
  if (endpoint != null) 'endpoint': endpoint!,
  if (natIps != null) 'natIps': natIps!,
  if (propagatedConnectionCount != null)
    'propagatedConnectionCount': propagatedConnectionCount!,
  if (pscConnectionId != null) 'pscConnectionId': pscConnectionId!,
  if (status != null) 'status': status!,
};