HiveAtNotificationKeystore constructor
You must subsequently call init
Implementation
HiveAtNotificationKeystore(this.currentAtSign,
{this.compactionPercentage = 30}) {
if (!_typesRegistered) {
Hive.registerAdapter(AtNotificationAdapter());
Hive.registerAdapter(OperationTypeAdapter());
Hive.registerAdapter(NotificationTypeAdapter());
Hive.registerAdapter(NotificationStatusAdapter());
Hive.registerAdapter(NotificationPriorityAdapter());
Hive.registerAdapter(MessageTypeAdapter());
if (!Hive.isAdapterRegistered(AtMetaDataAdapter().typeId)) {
Hive.registerAdapter(AtMetaDataAdapter());
}
if (!Hive.isAdapterRegistered(PublicKeyHashAdapter().typeId)) {
Hive.registerAdapter(PublicKeyHashAdapter());
}
_typesRegistered = true;
}
}