getServiceSingletonOrNull<T extends Service<Object?>> method

FutureOr<T>? getServiceSingletonOrNull<T extends Service<Object?>>({
  1. Object? params,
  2. Entity<Object>? groupEntity,
  3. bool traverse = true,
})
inherited

Implementation

FutureOr<T>? getServiceSingletonOrNull<T extends Service>({
  Object? params,
  Entity? groupEntity,
  bool traverse = true,
}) {
  return getServiceSingletonWithParamsOrNull<T, Object?>(
    params: params,
    groupEntity: groupEntity,
    traverse: traverse,
  );
}