remove method

  1. @override
Future<void> remove(
  1. String key
)
override

Removes the record for key, if present.

Implementation

@override
Future<void> remove(String key) => _synchronized(() async {
      final raw = await _readRaw();
      if (raw.remove(key) != null) {
        await _writeRaw(raw);
      }
    });