end method

  1. @override
Future<File> end()
override

Stops recording and ends it. Cannot be resumed after this call.

Implementation

@override
Future<File> end() async =>
    (_file..createSync()).writeAsBytes(await super._end(), flush: true);