InvalidGenerationSourceError class

May be thrown by generators during Generator.generate.

Inheritance

Constructors

InvalidGenerationSourceError(String message, {String todo = '', Element? element, AstNode? node})

Properties

element → Element?
The code element associated with this error.
final
hashCode int
The hash code for this object.
no setterinherited
message String
What failure occurred.
final
node → AstNode?
The AST Node associated with this error.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The stack trace at the point where this error was first thrown.
no setterinherited
todo String
What could have been changed in the source code to resolve this error.
final

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