IsarService class

Pure Isar service - NO feature imports allowed Schemas must be injected from outside to maintain Clean Architecture

Constructors

IsarService()

Properties

hashCode int
The hash code for this object.
no setterinherited
instance Isar?
Get Isar instance Returns null if not initialized - caller must handle this
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearAll() Future<void>
Clear all data (useful for testing/reset)
close() Future<void>
Close Isar connection
initialize(List<CollectionSchema> schemas) Future<void>
Initialize Isar with provided schemas Schemas should be passed from injection_container where features are known
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited