update method

void update(
  1. int index,
  2. T t
)

Implementation

void update(int index, T t) async {
  _update(await prefs, index, t);
}