query method

Future<List<Map<String, dynamic>>> query(
  1. String tableName, {
  2. String? where,
  3. List? whereArgs,
  4. int? limit,
  5. int? offset,
})

Implementation

Future<List<Map<String, dynamic>>> query(String tableName,
    {String? where, List<dynamic>? whereArgs, int? limit, int? offset}) async {
  return await _database.query(
    tableName,
    where: where,
    whereArgs: whereArgs,
    limit: limit,
    offset: offset,
  );
}