Generator<T> class
abstract
An abstract base class of generators.
This provides the structure that is common across generators for different languages.
- Implementers
Constructors
- Generator()
-
Constructor.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generate(
T generatorOptions, Root root, StringSink sink, {required String dartPackageName}) → void -
Generates files for specified language with specified
generatorOptions
-
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