deleteBox method

Future<bool> deleteBox(
  1. String id
)

Implementation

Future<bool> deleteBox(String id) async {
  try {
    await _box.delete(id);
    return true;
  } catch (e) {
    throw HiveException.delete(e).debugPrint;
  }
}