getCastDevice method

Future<CastDevice> getCastDevice()

Returns the currently connected cast device

Implementation

Future<CastDevice> getCastDevice() async {
  return await _hostApi.getCastDevice();
}