accessor property

String? accessor
final

Allows you to override the default collection accessor.

Example:

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

// access collection using: isar.col

Implementation

final String? accessor;