TestRestorationData class Null safety
Restoration data that can be used to restore the state to the one described by this data.
See also:
- WidgetTester.getRestorationData, which retrieves the restoration data from the widget under test.
- WidgetTester.restoreFrom, which takes a TestRestorationData to restore the state of the widget under test from the provided data.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- empty → const TestRestorationData
-
Empty restoration data indicating that no data is available to restore
state from.
TestRestorationData._(null)