toJson method
Implementation
Map<String, dynamic> toJson() => {
if (suppressOutput != null) 'suppressOutput': suppressOutput,
if (errorHandling != null) 'errorHandling': errorHandling,
if (retryCount != null) 'retryCount': retryCount,
if (userNotification != null) 'userNotification': userNotification,
};