ZywellBluetoothDevice class

This object contains the information about the bluetooth device. It contains the name and address of the device.

Constructors

ZywellBluetoothDevice({required String name, required String address, required bool bondedState})
ZywellBluetoothDevice.fromMap(Object? data)
factory

Properties

address String
The is the address of the bluetooth device, specifically the MAC address.
final
bondedState bool
The tells the bonded state of the device
final
hashCode int
The hash code for this object.
no setteroverride
name String
The name of the bluetooth device. It could be null, in which case, "unknown device" is returned
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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