findServiceOf<Id, Data> method

Service<Id, Data> findServiceOf <Id, Data>(
  1. Pattern path
)

Shorthand for finding a Service in a statically-typed manner.

Implementation

Service<Id, Data> findServiceOf<Id, Data>(Pattern path) {
  return findService<Service<Id, Data>>(path);
}