ExtensionGenerator class

Generates a Dart extension for the given class name.

Constructors

ExtensionGenerator.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

checkParamHasBothGetterAndSetter(ParameterElement element, ClassElement aClass) bool
Checks if a param has both a getter and setter in the class.
checkPrivateFieldHasBothGetterAndSetter(FieldElement field, ClassElement aClass) bool
Checks if a private field has both a getter and setter in the class.
generateExtension(StringBuffer classBuffer, ClassElement aClass, bool hasFSSupport, bool hasRDBSupport) String
Generates a Dart extension for the given class name.