findFirstAsync method

Future<T?> findFirstAsync({
  1. int? offset,
})

Find the first object that matches this query or null if no object matches.

Implementation

Future<T?> findFirstAsync({int? offset}) =>
    isar.readAsync((isar) => findFirst(offset: offset));