First, add Isar to your project. Add the following packages to your
pubspec.yaml. Always use the latest version.
For non-Flutter projects, you need to manually include the Isar Core binaries.
Annotate your classes with
@Collection and choose an id field.
Execute the following command to start the
This opens an Isar instance at the default location.
Once your instance is open, you can start using the database.