getService method

Service? getService(
  1. Pattern path
)

Resolves a service from the application.

Shorthand for e.service.app.service(...).

Implementation

Service? getService(Pattern path) => service.app!.findService(path);