remove method

Future<bool> remove(
  1. dynamic key
)

remove

Implementation

Future<bool> remove(dynamic key) async {
  if (containsKey(key)) {
    box().delete(key);
    return !containsKey(key);
  } else {
    return true;
  }
}