getService<T> method

T? getService<T>({
  1. Object? key,
})

Gets a service of the specified type.

Implementation

T? getService<T>({Object? key}) => null;