mutable property

KListMutable get mutable

Implementation

KListMutable get mutable {
  // Upon setState ocurrencies, multiple instances of the same list may exist.
  // We're keeping a static reference to the List's state so the transition between
  // instances can be smoother.
  if (!_listState.containsKey(id)) {
    _listState[id] = KListMutable();
  }
  _listState[id]!.timer?.cancel();
  return _listState[id]!;
}