UniqueCaller<R> constructor
UniqueCaller<R> (
- FutureOr<
R?> function(), { - Object? identifier,
- StackTrace? stackTraceIdentifier,
- void onDuplicatedCall(
- UniqueCaller<
R> caller
- UniqueCaller<
Implementation
UniqueCaller(this.function,
{Object? identifier,
StackTrace? stackTraceIdentifier,
this.onDuplicatedCall})
: _identifier = _IdentifierWrapper(identifier ??
stackTraceIdentifier?.toString() ??
UniqueCaller.stackTraceIdentifier());