ClassSwitchGenerator class

Constructors

ClassSwitchGenerator()

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

extractOptionsFromAnnotation(ConstantReader optionsReader) → ClassSwitchOptions
generate(LibraryReader library, BuildStep buildStep) FutureOr<String>
Generates Dart code for an input Dart library.
generateForElement(Element element, ConstantReader annotation, LibraryReader library) String
getDslMode(ConstantReader optionsReader) → DSL_MODE
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