pause method

void pause()

Implementation

void pause() {
  /// TODO: Try Time.timeScale to add pause and detect play-state for web
  if (!kIsWeb) _channel.invokeMethod('pause');
}