upload method
File upload.
Implementation
Future<Map<String, dynamic>> upload(String url, {
  required FileUploadingType type,
  required List<List<int>> fileBytes,
  String? fileKey,
  String? fileSuffix,
  Map<String, dynamic>? params,
  Function(int count, int total)? onSendProgress,
}) async {
  return _uploader.upload(
    url,
    type: type,
    fileBytes: fileBytes,
    fileKey: fileKey,
    fileSuffix: fileSuffix,
    params: params,
    onSendProgress: onSendProgress,
  );
}