accessor property

String? accessor
final

Allows you to override the default collection accessor.

Example:

@Collection(accessor: 'col')
class MyCol {
  Id? id;
}

// access collection:
isar.col.where().findAll();

Implementation

final String? accessor;