userBoxProvider top-level property

Provider<Box<DOOUser>> userBoxProvider
final

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

Implementation

final userBoxProvider = Provider<Box<DOOUser>>((ref) {
  return Hive.box<DOOUser>(DOOUserBoxNames.USERS.toString());
});