contactBoxProvider top-level property

Provider<Box<DOOContact>> contactBoxProvider
final

Provides hive box for DOOContact object, which is used when persistence is enabled

Implementation

final contactBoxProvider = Provider<Box<DOOContact>>((ref) {
  return Hive.box<DOOContact>(DOOContactBoxNames.CONTACTS.toString());
});