unique method

Future<T?> unique()

Returns a single result.

Implementation

Future<T?> unique() => stream(limit: 1, offset: 0).firstOrNull;