WithName class
Override generated sub class names.
If applied to sub classes it will change the specified sub class full name.
This can not be applied to top class.
for example:
abstract class _Weather { // will become Weather
void sunny(); // will become WeatherSunny
@WithName('Hello')
void rainy(int rain); // will become Hello
}
- Annotations
-
- @Target({TargetKind.method})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited