trySingle property

Row? get trySingle

Returns the only single 'Row' that exists in the ResultSet, or null if there are none or more than a single row.

Implementation

Row? get trySingle {
  try {
    return single;
  } catch (_) {
    return null;
  }
}