getCastDevice method Null safety

Future<CastDevice> getCastDevice()

Returns the currently connected cast device

Implementation

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