link method
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() async => _link ??= await resource.link();