sendFile method

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

Sends a file as a byte data stream, returning {'id': streamId}.

Implementation

Future<Map<String, String>> sendFile(File file, {required SendFileOptions options}) =>
    room.dataStreams.sendFile(file, options);