stop method

Future<Result> stop()

Stops the audio that is currently playing.

The position is going to be reset and you will no longer be able to resume from the last point.

Implementation

Future<Result> stop() async {
  return ResultMap[await _invokeMethod('stop') as int] ?? Result.ERROR;
}