JsDelegate constructor
const
JsDelegate({
- required dynamic callback,
- Future fallback()?,
Creates a JsDelegate with a single argument callback
to be
called when running on Web.
Implementation
const factory JsDelegate({
required dynamic callback,
Future<dynamic> Function()? fallback,
}) = _SingleDynamicArgumentJsDelegate;