where method
Get all records matching a condition.
Implementation
Future<List<T>> where(String column, dynamic value) async
{
final rows = await dbService.get(table, where: '$column = ?', params: [value]);
return rows.map((e) => fromMap(e)).toList();
}