15 lines
403 B
Dart
15 lines
403 B
Dart
/// Central configuration for SIAB-related constants.
|
|
///
|
|
/// The [deviceName] can be overridden at build time using:
|
|
/// `--dart-define=SIAB_DEVICE_NAME=YourDeviceName`.
|
|
class SiabConfig {
|
|
const SiabConfig._();
|
|
|
|
/// Logical Bluetooth name to search for when scanning SIAB devices.
|
|
static const String deviceName = String.fromEnvironment(
|
|
'SIAB_DEVICE_NAME',
|
|
defaultValue: 'SIAB',
|
|
);
|
|
}
|
|
|