WifiTestConfig class
Suite Wi-Fi test double settings from tests/config.yaml.
Doubles are installed only when the app's wifi module is enabled
(useWifi, not a stub). Per-test behavior is controlled via
modeStorageKey in initialState.storage (connect_fail,
verify_fail; default is success).
Constructors
- WifiTestConfig({String ssid = '', String verifyFailSsid = 'Wrong_Network', String modeStorageKey = defaultModeStorageKey})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- modeStorageKey → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ssid → String
-
final
- verifyFailSsid → String
-
final
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
Constants
- connectFailMode → const String
- defaultModeStorageKey → const String
- successMode → const String
-
supportedModes
→ const Set<
String> - verifyFailMode → const String