getById method

Future getById(
  1. List? ids
)

Implementation

Future<dynamic> getById(List<dynamic>? ids) async {
  if (ids == null) {
    return null;
  }
  final Database db = (await this.db)!;
  final query = 'Select * from $_tableName where $_whereStr';
  final result = await db.rawQuery(query, ids);
  return result;
}