FirstOrNull property

E? get FirstOrNull

Query-like Returns the first matching element, or null if the result set is empty.

Implementation

/// result set is empty.
  E? get FirstOrNull => _resolve().firstOrNull;