IRoute class abstract interface

Marker interface for defining a route structure within the Modugo ecosystem.

This interface is used to represent any type that is considered a route, such as route, module, shell, and statefulShell specialized extensions.

Even though it does not declare any methods or properties, this interface enables consistent typing and polymorphism across the routing system, allowing different route types to be handled in a uniform way.

Example:

List<IRoute> routes() => [
  module(path: '/profile', module: ProfileModule()),
  route(path: '/home', child: (_, _) => const HomePage()),
];

Properties

hashCode int
The hash code for this object.
no setterinherited
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