MismatchedPainterAndDataException class
The exception that is thrown when a Painter is initialized with PainterData that is not compatible with it.
- Implemented types
Constructors
- MismatchedPainterAndDataException.new([String? message, Painter? painter, PainterData? data])
-
Creates a MismatchedPainterAndDataException with the provided
message
.const
Properties
- data → PainterData?
-
The PainterData that was used to initialize the mismatched Painter.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
The message that describes the error.
final
- painter → Painter?
-
The Painter that was initialized with the mismatched PainterData.
final
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited