clear method

Future<int> clear()

Implementation

Future<int> clear() async {
  try {
    return await _box.clear();
  } catch (e) {
    throw HiveException(e);
  }
}