mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-12-03 10:33:49 +01:00
chore: drop unused Di2Emulator.data field/getter
This commit is contained in:
@@ -33,7 +33,6 @@ class Di2Emulator extends TrainerConnection {
|
||||
Di2ButtonState.released,
|
||||
);
|
||||
|
||||
final ValueNotifier<String> _data = ValueNotifier<String>('');
|
||||
final Di2Definition _definition;
|
||||
BluetoothTransporter? _transporter;
|
||||
|
||||
@@ -59,9 +58,6 @@ class Di2Emulator extends TrainerConnection {
|
||||
@visibleForTesting
|
||||
Di2Definition get definition => _definition;
|
||||
|
||||
/// Live data field exposed to UI listeners (mirrors the Di2 definition).
|
||||
ValueListenable<String> get data => _data;
|
||||
|
||||
BluetoothTransporter _makeTransporter(Di2Definition def) {
|
||||
final factory = transporterFactory;
|
||||
if (factory != null) return factory(def);
|
||||
|
||||
Reference in New Issue
Block a user