RouteInformationSerializable<T> mixin
A class to mix with when defining a custom state for BeamLocation.
fromRouteInformation and toRouteInformation need to be implemented in order to notify the platform of current RouteInformation that corresponds to the state.
- Mixin Applications
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- routeInformation → RouteInformation
-
A convenience method to get RouteInformation from this.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fromRouteInformation(
RouteInformation routeInformation) → T -
Create a state of type
T
from RouteInformation. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toRouteInformation(
) → RouteInformation -
Creates a RouteInformation fro the state of type
T
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited