updateBoomConfig method

Future<void> updateBoomConfig(
  1. KabelBoom nieuw
)

Implementation

Future<void> updateBoomConfig(KabelBoom nieuw) async {
  // Ongeldig verklaar alle resultaten — bron is veranderd.
  _boom = nieuw.copyWith(
    nodes: nieuw.nodes
        .map((n) => n.copyWith(clearResultaten: true))
        .toList(),
  );
  notifyListeners();
  await _slaOp();
}