Future<List<B>> hasMany(A model) async { List<dynamic> result = await Collection.get(modelType: B) .where('${Model.typeToId(A)}_id', model.getId()); return result.cast<B>(); }