toJson method

  1. @override
Object toJson()
override

Implementation

@override
Object toJson() => {
  if (emailAlertConfig != null)
    'emailAlertConfig': emailAlertConfig!.toJson(),
  if (enableLogging.isNotDefault) 'enableLogging': enableLogging,
  if (notificationChannels.isNotDefault)
    'notificationChannels': notificationChannels,
};