InjectRouteRegistration class final
Registers a route function by appending a call to functionName in the project's route registry file.
The executor resolves the exact injection site; this operation carries only the function name so the dry-run output remains concise.
Example
InjectRouteRegistration(functionName: 'analyticsRoutes')
- Inheritance
-
- Object
- InstallOperation
- InjectRouteRegistration
Constructors
- InjectRouteRegistration({required String functionName})
-
Creates an InjectRouteRegistration operation.
const
Properties
- functionName → String
-
Name of the top-level route registration function to call.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
describe(
) → String -
Returns a human-readable dry-run line for this operation.
override
-
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