ModelBindingGenerator class

ModelBindingGenerator

Constructors

ModelBindingGenerator()

Properties

customCode → String
customCode
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
initCode → String
initCode
no setterinherited
mapClass → String
mapClass
no setter
modelRef → String
modelRef
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
superClass → String
superClass
no setter
throwOnUnresolved → bool
finalinherited
typeChecker → TypeChecker
no setterinherited

Methods

customConvert(PropertyInfo propertyInfo) → String?
defaultConvert(String typeElement, PropertyInfo propertyInfo) → String?
defaultConvert
inherited
genDefault(String initCode, String initString, Set<PropertyInfo> propertySet, Set<ConvertInfo> convertSet) → String
genDefault
inherited
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.
inherited
genExport(String exportString, Set<PropertyInfo> propertySet, Set<ConvertInfo> convertSet) → String
genExport
genSupperClass(String genClass, String genMixin, Set<PropertyInfo> propertySet, Set<ConvertInfo> convertSet) → String
genSupperClass
inherited
genTypes(String typesString, Set<PropertyInfo> propertySet, Set<ConvertInfo> convertSet) → String
genTypes
inherited
genValidate(String validateString, Set<PropertyInfo> propertySet, Set<ConvertInfo> convertSet) → String
genValidate
inherited
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