enable property

bool get enable
  • true : allow sync all functions
  • false(default) : disable sync all functions

Changing from false to true will trigger sync once

Implementation

bool get enable => _enable;
set enable (bool v)

Implementation

set enable(bool v) {
  if (_enable != v) {
    _enable = v;
    if (_enable) {
      sync();
    }
  }
}