relationship method

  1. @override
Uri relationship(
  1. String type,
  2. String id,
  3. String relationship
)
override

Returns a URL for the relationship itself. The type and id identify the primary resource and the relationship is the relationship name. E.g. /books/123/relationships/authors.

Implementation

@override
Uri relationship(String type, String id, String relationship) =>
    _resolve([type, id, 'relationships', relationship]);