WidgetMock class
Full documentation: https://www.ezflap.io/testing/mock/mock.html#widgetmock
The WidgetMock class is created and initialized automatically by ezFlap, and is used as a container around a widget mock.
Constructors
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
-
getPropValue(
String assignedName) → dynamic - Returns the value the prop was populated with, or null if the prop was not populated.
-
isPropPopulated(
String assignedName) → bool -
Returns true if a prop with the Assigned Name assignedName has been
populated (e.g. with a
z-bind
attribute). -
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