BleDevice constructor
BleDevice({})
Implementation
BleDevice({
required this.deviceId,
required String? name,
this.rssi,
this.paired,
List<String> services = const [],
this.isSystemDevice,
this.manufacturerDataList = const [],
Map<String, Uint8List> serviceData = const {},
this.timestamp,
this.timestampMicroseconds,
this.connectable,
}) : services = _validateServices(services),
serviceData = _validateServiceData(serviceData),
rawName = name,
name = name?.replaceAll(RegExp(r'[^ -~]'), '').trim();