seekToPlayer method

Future<void> seekToPlayer ({@required int position })

Implementation

static Future<void> seekToPlayer({@required int position}) async {
  try {
    await _channel.invokeMethod(
        'seekToPlayer', <String, String>{'position': position.toString()});
  } on PlatformException catch (e) {
    print(e.details);
  }
}