get method
Implementation
Future<List<T>> get() async {
_ensureNotConsumed();
final sql = _buildSelectSql();
final raw = await AppAmbitSdkFlutterPlatform.instance
.dbExecute(sql, _whereParams.isEmpty ? null : List.of(_whereParams));
final result = DbResult.fromMap(raw);
if (result.hasError) throw StateError(result.error!);
final maps = result.toMaps();
if (_fromRow != null) return maps.map(_fromRow).toList();
return maps as List<T>;
}