Module class

Classes annotated with Module determine, which classes are managed by it. The rule is that all classes inside or under the library of this class are eligible.

Inheritance
  • Object
  • ClassAnnotation
  • Module

Constructors

Module({List<Type>? imports, bool includeSubdirectories = true, bool includeSiblings = true})
Create a new Module imports possible list of modules which will be recursively imported.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
imports List<Type>
final
includeSiblings bool
final
includeSubdirectories bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply(TypeDescriptor type) → void
callback executed by the type infrastructure type the TypeDescriptor of the annotated class
override
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