link method

  1. @override
Future<Link> link()
inherited

Returns the link from which the resource was retrieved.

It might be modified by the Resource to include additional metadata, e.g. the Content-Type HTTP header in Link.type.

Implementation

@override
Future<Link> link() => resource.link();