messagesBoxProvider top-level property

Provider<Box<DOOMessage>> messagesBoxProvider
final

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

Implementation

final messagesBoxProvider = Provider<Box<DOOMessage>>((ref) {
  return Hive.box<DOOMessage>(DOOMessagesBoxNames.MESSAGES.toString());
});