noSave method

void noSave(
  1. Function function
)

No-save wrapper

  • All save calls or triggered save are disabled
  • Do not override

Implementation

void noSave(Function function) {
  _noSave++;
  lazy.log('$runtimeType.noSave():Start($_noSave)');
  function();
  lazy.log('$runtimeType.noSave():End($_noSave)');
  _noSave--;
}