getRelation<T extends ParseObject> method Null safety

ParseRelation<T> getRelation<T extends ParseObject>(
  1. String key
)

Get the instance of ParseRelation class associated with the given key.

Implementation

ParseRelation<T> getRelation<T extends ParseObject>(String key) {
  return ParseRelation<T>(parent: this, key: key);
}