toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'uploadId': uploadId,
'filePath': filePath,
'url': url,
'method': method,
'headers': headers,
'fields': fields,
'fileFieldName': fileFieldName,
'notificationTitle': notificationTitle,
'notificationDescription': notificationDescription,
'showNotification': showNotification,
};
}