hasProperty method

  1. @override
Future<bool> hasProperty(
  1. String boxName,
  2. String key
)
override

Implementation

@override
Future<bool> hasProperty(String boxName, String key) async {
  try {
    final box = await openBox(boxName);
    return box.containsKey(key);
  } catch (e) {
    throw DatabaseBridgeException(error: e);
  }
}