toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  if (matchGrpcAddress.isNotDefault) 'matchGrpcAddress': matchGrpcAddress,
  if (serviceAttachment.isNotDefault) 'serviceAttachment': serviceAttachment,
  if (pscAutomatedEndpoints.isNotDefault)
    'pscAutomatedEndpoints': [
      for (final i in pscAutomatedEndpoints) i.toJson(),
    ],
};