LbSetupDeviceInteractionViewModel class

Inheritance
Annotations

Constructors

LbSetupDeviceInteractionViewModel({required String deviceId, required DeviceConnectionState connectionStatus, required LogbotBleDeviceConnector deviceConnector, required Future<List<DiscoveredService>> discoverServices()})
const

Properties

connectionStatus → DeviceConnectionState
final
deviceConnected bool
no setter
deviceConnector → LogbotBleDeviceConnector
final
deviceId String
final
discoverServices Future<List<DiscoveredService>> Function()
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect() → void
copyWith({String? deviceId, DeviceConnectionState? connectionStatus, LogbotBleDeviceConnector? deviceConnector, Future<List<DiscoveredService>> discoverServices()?}) LbSetupDeviceInteractionViewModel
inherited
disconnect() → void
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