FederatedModuleConfig class
Federated module loading for Air Framework MEJORA-013: Módulos Federados
Allows loading modules from external packages dynamically.
Example:
final loader = FederatedModuleLoader();
// Register a module factory from another package
loader.registerFactory(
'payment_module',
'com.example.payment',
() async => PaymentModule(),
);
// Load it when needed
final module = await loader.load('payment_module');
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Map<
String, dynamic> ? -
Optional metadata
final
- moduleId → String
-
Unique identifier for this module
final
- packageName → String
-
Package name where the module comes from
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → String?
-
Optional version constraint
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited