toJson method
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(),
],
};