getPlaybackTime method
Get the playback time of the current song in the queue.
Implementation
Future<double> getPlaybackTime() async {
if (Platform.isIOS) {
var result = await playerChannel.invokeMethod('getPlaybackTime');
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.");
}
}