DefaultDelegate<Q, R> constructor
const
DefaultDelegate<Q, R> ({
- required FutureOr<
R> callback(- Q message
Creates a DefaultDelegate with a single argument callback
to be called
when running on Dart VM.
Implementation
const factory DefaultDelegate({
required FutureOr<R> Function(Q message) callback,
}) = _SingleArgumentDefaultDelegate<Q, R>;