start method

Future<void> start(
  1. double position
)

Implementation

Future<void> start(double position) async {
  _isPlaying = true;
  if (_currentUrl == null) {
    return; // nothing to play yet
  }
  if (player == null) {
    recreateNode();
  }
  player?.currentTime = position;
  await player?.play().toDart;
}