PlayingRoute enum
Indicates which speakers use for playing
- Inheritance
- Available extensions
Values
- speakers → const PlayingRoute
- earpiece → const PlayingRoute
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
name(
) → String -
Available on PlayingRoute, provided by the PlayingRouteExtensions extension
Returns this enum name to be used over the wire with the native side. TODO(luan) other enums use toString(), we should unify. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toggle(
) → PlayingRoute -
Available on PlayingRoute, provided by the PlayingRouteExtensions extension
Note: this only makes sense because we have exactly two playing routes. If that ever was to change, this method would need to be removed. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
PlayingRoute> - A constant List of the values in this enum, in order of their declaration.