uploadNotebookToSupabase function

Future<void> uploadNotebookToSupabase(
  1. String filePath,
  2. String studyId
)

Implementation

Future<void> uploadNotebookToSupabase(String filePath, String studyId) async {
  final file = File(filePath);
  final fileName = p.basename(file.path);

  await _uploadToSupabaseStorage(studyId, fileName, file, 'notebook-widgets');
}