pause method

Future<bool> pause ()

Pause playing.

Implementation

Future<bool> pause() async {
  if(Platform.isIOS){
    try{
      var result = await playerChannel.invokeMethod('pause');
      return result;
    } catch(e){
      print(e);
      return false;
    }
   }
}