ZenModule class abstract

Abstract class for organizing related dependencies into modules

Constructors

ZenModule.new()

Properties

dependencies List<ZenModule>
List of modules this module depends on
no setter
hashCode int
The hash code for this object.
no setteroverride
name String
Unique name for this module
no setter
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
onDispose(ZenScope scope) Future<void>
Called when the module is being disposed
onInit(ZenScope scope) Future<void>
Called after module registration for async initialization
register(ZenScope scope) → void
Register all dependencies in this module
toString() String
A string representation of this object.
override

Operators

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