completeRegistration<T extends Object> method
void
completeRegistration<T extends Object>()
inherited
Implementation
@protected
void completeRegistration<T extends Object>(
T value,
Entity? groupEntity,
) {
final completer = (completers?.registry
.getDependencyOrNull<CompleterOr<FutureOr<T>>>(
groupEntity: groupEntity,
)
?.value ??
completers?.registry
.getDependencyOrNullK(
Entity.type(CompleterOr<Object>, [value.runtimeType]),
groupEntity: groupEntity,
)
?.value ??
completers?.registry
.getDependencyOrNullK(
Entity.type(CompleterOr<Future<Object>>, [value.runtimeType]),
groupEntity: groupEntity,
)
?.value) as CompleterOr?;
completer?.complete(value);
}