AFRouteParamWrapper class

Used internally in test cases where we need to substitute a different screen id, for the original screen id in a route param passed to a test. You can call unwrap to get the original route param of the correct type.

Inheritance
Annotations

Constructors

AFRouteParamWrapper({required AFScreenID screenId, required AFRouteParam original})

Properties

effectiveScreenId AFScreenID?
no setterinherited
flutterStatePrivate Object?
finalinherited
hasChildWID bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
original AFRouteParam
final
routeLocation AFRouteLocation
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenId AFScreenID
finalinherited
timeSpecificity AFTimeStateUpdateSpecificity?
finalinherited
wid AFWidgetID
finalinherited

Methods

dispose() → void
inherited
matchesScreen(AFID screen) bool
inherited
mergeOnWrite(AFRouteParam oldParam) AFRouteParam
Provides an opportunity to merge this new param with an old param when you update a route parameter that already exists.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paramFor(AFScreenID screen) AFRouteParam
inherited
reviseForTime(AFTimeState timeState) AFRouteParam?
inherited
toString() String
A string representation of this object.
inherited
unwrap() AFRouteParam

Operators

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