ConvertersGen class

Constructors

ConvertersGen()

Properties

className String
getter/setter pair
collectionClassName String
getter/setter pair
collectionName String
getter/setter pair
collectionRefTypeName String
getter/setter pair
docRefTypeName String
getter/setter pair
docTypeName String
getter/setter pair
fromMapFuncName String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
refName String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
throwOnUnresolved bool
finalinherited
toMapFuncName String
getter/setter pair
typeChecker → TypeChecker
no setterinherited

Methods

generate(LibraryReader library, BuildStep buildStep) FutureOr<String>
Generates Dart code for an input Dart library.
inherited
generateForAnnotatedElement(Element element, ConstantReader annotation, BuildStep buildStep) → dynamic
Implement to return source code to generate for element.
naming(ClassElement e, ConstantReader annotation) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
writeFromMapFunc(ClassElement e) String
writeRef(ClassElement e) String
writeToMapFunc(ClassElement e) String
writeTypes(ClassElement e, ConstantReader annotation) String

Operators

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