index property

int? get index

Implementation

int? get index => _index?.get();
set index (dynamic v)

Implementation

set index (dynamic v)
{
  if (_index != null)
  {
    _index!.set(v);
  }
  else if (v != null)
  {
    // the odd means of adding onPropertyChange is on purpose. It triggers too soon and the view sets it on initialize()
    _index = IntegerObservable(Binding.toKey(id, 'index'), v, scope: scope);
    _index!.registerListener(onPropertyChange);
    _index!.notifyListeners();
  }
}