FKappaModule class abstract

The contract that every feature module in a FKappa application must implement.

A Module encapsulates a specific feature set (e.g., Auth, Cart, Product). It manages its own Routes, Dependency Injection, and Initialization logic.

Constructors

FKappaModule()

Properties

hashCode → int
The hash code for this object.
no setterinherited
isLazy → bool
Whether this module should be loaded only when its routes are accessed.
no setter
name → String
The unique name of the module.
no setter
routes → List<RouteBase>
The list of routes provided by this module.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

init() → Future<void>
Async initialization.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerDependencies(GetIt sl) → void
Register dependencies.
toString() → String
A string representation of this object.
inherited

Operators

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