updateSymbol method
Updates the specified symbol
with the given changes
. The symbol must
be a current member of the symbols set.
Change listeners are notified once the symbol has been updated on the platform side.
The returned Future completes once listeners have been notified.
Implementation
Future<void> updateSymbol(Symbol symbol, SymbolOptions changes) async {
await symbolManager!
.set(symbol..options = symbol.options.copyWith(changes));
notifyListeners();
}