CodeGenerator class

Constructors

CodeGenerator(Stream<List<int>> _streamIn, IOSink _streamOut)

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({Map<String, SingleOptionParser>? optionParsers, OutputConfiguration config = const DefaultOutputConfiguration()}) → void
Runs the code generator. The optional optionParsers can be used to change how command line options are parsed (see parseGenerationOptions for details), and config can be used to override where generated files are created and how imports between generated files are constructed (see OutputConfiguration for details).
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