isCastAvailable property

  1. @override
Future<bool> get isCastAvailable

Whether casting to a cast-compatible remote device is available. CastAvailableEvent signals when casting becomes available.

Implementation

@override
Future<bool> get isCastAvailable async =>
    _playerPlatformInterface.isCastAvailable;