ConfigGenerator class

Constructors

ConfigGenerator()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeChecker → TypeChecker
no setterinherited

Methods

generate(LibraryReader library, BuildStep buildStep) FutureOr<String>
Generates Dart code for an input Dart library.
inherited
generateCodeForFile(String? filePath, ClassElement classElement, String jsonString, String? configName) String
generateField(String variableName, ClassElement classElement, Map<String, dynamic> parsedConfig, String filePath) String
generateForAnnotatedElement(Element classElement, ConstantReader annotation, BuildStep buildStep) Future<String>
Implement to return source code to generate for element.
generateValueForVariable(ClassElement element, String variableName, dynamic rawValue, String filePath) String
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