store method

Future<String> store({
  1. String path = '',
  2. required String name,
})

Store the file via your Storage layer.

  • destPath should include trailing slash if desired.

Implementation

Future<String> store({
  String path = '',
  required String name,
}) =>
    Storage.put(path, name, stream);