play method

  1. @override
Future<PlayResponse> play(
  1. PlayRequest request
)
override

Plays the current audio source at the current index and position.

Implementation

@override
Future<PlayResponse> play(PlayRequest request) async {
  return PlayResponse.fromMap((await _channel
      .invokeMethod<Map<dynamic, dynamic>>('play', request.toMap()))!);
}