ContractsGenerator class

Constructors

ContractsGenerator(ContractsGeneratorConfig config)
const

Properties

config ContractsGeneratorConfig
final
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() Future<Library>
generates code_builder structures that can still be modified
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCode() Future<String>
Contracts dart code without generated json_serializable file
toString() String
A string representation of this object.
inherited
writeAll() Future<void>
Writes formatted contracts and generated build files into the file system

Operators

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

Static Properties

emitter → DartEmitter
final

Constants