get<T> method

  1. @override
T? get<T>()
override

Implementation

@override
T? get<T>() {
  final result = _registered[T];

  if (result == null) {
    return null;
  }

  return result as T;
}