toJson method
Converts to a JSON map for the request body.
Implementation
Map<String, dynamic> toJson() => {
'type': type,
'report_id': ?reportId,
'warning_preset_id': ?warningPresetId,
'text': ?text,
'send_email_notification': ?sendEmailNotification,
};