currentCastSession property
GoogleCastSession?
get
currentCastSession
Returns the current cast session if available.
This method is not implemented for iOS and will throw an UnimplementedError. Use currentSession instead which is properly implemented for iOS.
Implementation
GoogleCastSession? get currentCastSession => throw UnimplementedError();