sendFile method

Future<Map<String, String>> sendFile(
  1. File file, {
  2. required SendFileOptions options,
})

Implementation

Future<Map<String, String>> sendFile(
  File file, {
  required SendFileOptions options,
}) async {
  final streamId = Uuid().v4();
  await _sendFile(streamId, file, options);
  return {'id': streamId};
}