getByIdRaw method

Future<Map> getByIdRaw (int id)

Implementation

Future<Map> getByIdRaw(int id) async {
  List<Map> maps = await this.getRawList(where: "_id=${id.toString()}");
  if (maps != null && maps.length > 0) {
    return maps.first;
  }
  return null;
}