copyWith method
BluetoothScanOptions
copyWith({
- BluetoothScanMode? scanMode,
- List<
String> ? serviceUuids, - bool? allowDuplicates,
API Documentation for copyWith.
Implementation
BluetoothScanOptions copyWith({
BluetoothScanMode? scanMode,
List<String>? serviceUuids,
bool? allowDuplicates,
}) {
return BluetoothScanOptions(
scanMode: scanMode ?? this.scanMode,
serviceUuids: serviceUuids ?? this.serviceUuids,
allowDuplicates: allowDuplicates ?? this.allowDuplicates,
);
}