ExtensionTypeMismatchError class

Thrown when an extension type doesn't match the registered type for a component.

This is a programming error - extension types must match registered types. Ensure extension types match the types registered with the facade factory.

Inheritance

Constructors

ExtensionTypeMismatchError(ComponentId componentId, Type expectedType, Type actualType)

Properties

actualType → Type
The actual extension type provided.
final
componentId → ComponentId
The component ID with the type mismatch.
final
expectedType → Type
The expected extension type (registered type).
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
finalinherited
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

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