toJson method

  1. @override
Object toJson()

Implementation

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