fetch method Null safety

Future fetch()

Implementation

Future fetch() async {
  try {
    _queries['limit'] = 1;
    var res = await fetchAll();
    if (res.length == 0) return null;
    return res[0];
  } catch (e) {
    throw e;
  }
}