RoutingServiceProvider class

A service provider that registers routing and event-related services.

This provider is responsible for:

  • Registering the event manager
  • Setting up routing event listeners
  • Configuring routing-related services

Example:

final engine = Engine();
engine.registerProvider(RoutingServiceProvider());
Inheritance
Mixed-in types

Constructors

RoutingServiceProvider()

Properties

configSource String
Optional identifier used when tracking config contributions.
no setterinherited
defaultConfig ConfigDefaults
Default configuration (values + documentation) contributed by this provider.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemas Map<String, Schema>
The JSON Schemas for this configuration.
no setterinherited

Methods

boot(Container container) Future<void>
Optional boot method called after all providers are registered.
override
cleanup(Container container) Future<void>
Optional cleanup method called when container is disposed.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onConfigReload(Container container, Config config) Future<void>
Called when the application configuration is reloaded.
override
register(Container container) → void
Register services with the container.
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

spec → const RoutingConfigSpec