resourceWithHref method

Link? resourceWithHref(
  1. String href
)

Finds the first resource Link (asset or readingOrder item) at the given relative path.

Implementation

Link? resourceWithHref(String href) =>
    readingOrder.deepLinkWithHref(href) ?? resources.deepLinkWithHref(href);