get method
Get a single object by its id
or null
if the object does not exist.
Implementation
@override
Future<OBJ?> get(Id id) {
return _spanHelper.asyncWrapInSpan(
'get',
() {
return _isarCollection.get(id);
},
dbName: _dbName,
collectionName: name,
);
}