upload method
Implementation
@override
Future<dynamic> upload({
required String bucketName,
required String objectKey,
String? filePath,
Uint8List? data,
}) async {
return _methodChannel.invokeMethod(
'upload',
{
"bucketName": bucketName,
'objectKey': objectKey,
'filePath': filePath,
'data': data,
},
);
}