getService<T> method

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

Gets a service of the specified type.

Implementation

@override
T? getService<T>({Object? key}) {
  if (this is T) return this as T;
  return innerClient.getService<T>(key: key);
}