play method

Future<bool> play ()

Play the most recent queue.

Implementation

Future<bool> play() async {
  if (Platform.isIOS) {
    var result = await playerChannel.invokeMethod('play');
    return result;
  } else {
    throw PlatformException(
        code: "Device is not iOS!",
        message:
            "Currently only iOS is supported. Feel free to contribute to Playify to help support Android.");
  }
}