findServiceOf<Id, Data> method
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);
}
Shorthand for finding a Service
in a statically-typed manner.
Service<Id, Data>? findServiceOf<Id, Data>(Pattern path) {
return findService<Service<Id, Data>>(path);
}