delete method

  1. @override
Future<int> delete()
override

removes all keys from the box as fast as possible. does not report changes.

Implementation

@override
Future<int> delete() async {
  var x = map.length;
  map.clear();
  return x;
}