ContractsGeneratorConfig class

Constructors

ContractsGeneratorConfig({required GeneratorScript input, String name = 'contracts', RegExp? include, Directory? output, String directives = '', String extra = ''})
ContractsGeneratorConfig.fromYaml(String yaml)
factory

Properties

directives String
Directives (export, import, part etc.) to be added to the generated contracts file
final
extra String
Code to be added to the generated contracts file after all directives
final
hashCode int
The hash code for this object.
no setterinherited
include RegExp
Regex to filter-in namespaced statements
final
input GeneratorScript
Method of consuming contracts code
final
name String
Name of the output dart file
final
output Directory
Output directory
final
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

defaultYamlConfig → const String