ZywellBluetoothDevice.fromMap constructor
ZywellBluetoothDevice.fromMap(
- Object? data
Implementation
factory ZywellBluetoothDevice.fromMap(Object? data) {
final map = HelperFunctions.convertToMap(data);
return ZywellBluetoothDevice(
name: map['name'],
address: map['address'],
bondedState: map['bonded_state'],
);
}