toJson method
Implementation
@override
Object toJson() => {
if (predictHttpUri.isNotDefault) 'predictHttpUri': predictHttpUri,
if (explainHttpUri.isNotDefault) 'explainHttpUri': explainHttpUri,
if (healthHttpUri.isNotDefault) 'healthHttpUri': healthHttpUri,
if (serviceAttachment.isNotDefault) 'serviceAttachment': serviceAttachment,
};