resource method

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

Returns a URL for the primary resource of type type with id id. E.g. /books/123.

Implementation

@override
Uri resource(String type, String id) => _resolve([type, id]);