seek method

  1. @override
Future<SeekResponse> seek(
  1. SeekRequest request
)
override

Seeks to the given index and position.

Implementation

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