batch method

Future<void> batch(
  1. Future<bool> invoke(
    1. BatchSharedPreferences batch
    ), {
  2. bool notify = true,
})

Save with batch

Implementation

Future<void> batch(Future<bool> Function(BatchSharedPreferences batch) invoke,
        {bool notify = true}) =>
    _decorator.batch(invoke, notify: notify);