EspProvisioningState class

EspProvisioningState is a class that contains a bunch of properties that are used to store the state of the ESP provisioning

Constructors

EspProvisioningState({EspProvisioningStatus status = EspProvisioningStatus.initial, List<String> bluetoothDevices = const <String>[], String bluetoothDevice = "", List<String> wifiNetworks = const <String>[], String wifiNetwork = "", bool wifiProvisioned = false, bool timedOut = false, String errorMsg = ""})
const

Properties

bluetoothDevice String
final
bluetoothDevices List<String>
final
errorMsg String
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status EspProvisioningStatus
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
timedOut bool
final
wifiNetwork String
final
wifiNetworks List<String>
final
wifiProvisioned bool
final

Methods

copyWith({EspProvisioningStatus? status, List<String>? bluetoothDevices, String? bluetoothDevice, List<String>? wifiNetworks, String? wifiNetwork, bool? wifiProvisioned, bool? timedOut, String? errorMsg}) EspProvisioningState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.

Operators

operator ==(Object other) bool
The equality operator.
inherited