getById method

Future<StorageOperator> getById (int id)

Implementation

Future<StorageOperator> getById(int id) async {
  Map map = await getByIdRaw(id);
  if (map != null) {
    return getOperatorClassFromMap(map);
  }
  return null;
}