current method

Future<AirPlayState> current()

Implementation

Future<AirPlayState> current() async {
  try {
    return _parse(await _channel.invokeMapMethod<String, Object?>('current'));
  } on MissingPluginException {
    return AirPlayState.off;
  }
}