MockElementaryModelMixin mixin
Mock that helps to prevent NoSuchMethodError exception when the ElementaryModel is mocked.
- Implemented types
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
-
dispose(
) → void -
Prepares the ElementaryModel to be completely destroyed.
inherited
-
handleError(
Object error, {StackTrace? stackTrace}) → void -
Can be used for send
error
to ErrorHandler if it defined and notify WidgetModel.inherited -
init(
) → void -
Initializes ElementaryModel.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setupWmHandler(
void function(Object)?) → void -
Method for setup ElementaryModel for testing.
This method can be used to WidgetModels error handler.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited