toBytes method
Returns the bytes of a stopped recording as a Uint8List.
Note that this can only be called once the recording has ben stopped via stop.
Implementation
@override
Future<Uint8List> toBytes(int recorderId) {
assert(_recorders.containsKey(recorderId));
return _recorders[recorderId]!.toBytes();
}