GeneratedAppModule class abstract

Base class for generated module classes

Extend this in your generated code:

abstract class _ShopModule extends GeneratedAppModule {
  _ShopModule() : super('shop');
  // Generated routes...
}

Constructors

GeneratedAppModule(String moduleId, {bool isLazy = false})

Properties

dependencies List<String>
Override to provide module dependencies
no setter
hashCode int
The hash code for this object.
no setterinherited
isLazy bool
Whether this module is lazy loaded
final
moduleId String
Module ID
final
routes List
Override to provide module routes
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() → void
Called when module is disposed
onInit() → void
Called when module is initialized
toString() String
A string representation of this object.
inherited

Operators

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