first property

Map<String, dynamic>? get first

Returns the first row in the result set, or null if empty.

Implementation

Map<String, dynamic>? get first => rows.isEmpty ? null : rows.first;