update method

Future<bool> update(
  1. Map<String, dynamic> data
)

Implementation

Future<bool> update(Map<String, dynamic> data) async {
  final value = await cache;
  if (value == null) return false;
  final current = value.source..addAll(data);
  return _w(key, current);
}