toJson method
Implementation
@override
Object toJson() => {
if (emailAlertConfig case final emailAlertConfig?)
'emailAlertConfig': emailAlertConfig.toJson(),
if (enableLogging.isNotDefault) 'enableLogging': enableLogging,
if (notificationChannels.isNotDefault)
'notificationChannels': notificationChannels,
};