CastState enum Null safety

The possible casting states.

Constants

connected → const CastState

A Cast session is established.

const CastState(4)
connecting → const CastState

A Cast session is being established.

const CastState(3)
idle → const CastState

Cast connection has never been initialized.

const CastState(0)
unavailable → const CastState

No Cast devices are available.

const CastState(1)
unconnected → const CastState

Cast devices are available, but a Cast session is not established.

const CastState(2)
values → const List<CastState>

A constant List of the values in this enum, in order of their declaration.

const List<CastState>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited