GuardResolution class

Outcome of BloomRouter.resolveRedirects after following guard redirects.

Constructors

GuardResolution({required String location, required BloomRouteMatch? match, bool blocked = false})
const
GuardResolution.noMatch(String location)
Resolution for a location with no matching route.
factory

Properties

blocked → bool
Whether a guard blocked navigation without offering a redirect target.
final
hashCode → int
The hash code for this object.
no setterinherited
location → String
The final location guards settled on (redirect targets applied).
final
match → BloomRouteMatch?
The route match for location, or null when nothing matched.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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