LogicRef<T> constructor
LogicRef<T> (
- InstanceFactory<
T> create, { - String? name,
Creates a reference to a business logic component.
The create parameter must not be null and it's used to generate a logic component instance.
A name
can be provided to this reference for debugging purposes.
Implementation
LogicRef(
this.create, {
String? name,
}) : key = BinderKey(name ?? 'LogicRef<$T>');