whereRelatedTo method

void whereRelatedTo(
  1. String column,
  2. String className,
  3. String objectId
)

Retrieves related objets where String column is a relation field to the class String className

Implementation

void whereRelatedTo(String column, String className, String objectId) {
  queries.add(MapEntry<String, dynamic>(_singleQuery,
      '"\$relatedTo":{"object":{"__type":"Pointer","className":"$className","objectId":"$objectId"},"key":"$column"}'));
}