AsyncTaskChannelMessageHandler typedef
AsyncTaskChannelMessageHandler =
void Function(dynamic message, bool fromExecutingContext)
An AsyncTaskChannel message handler.
message
the message.fromExecutingContext
iftrue
, indicated that the message comes from the executing context (from AsyncTask.run). Iffalse
indicates that the message comes from outside the task.
Implementation
typedef AsyncTaskChannelMessageHandler = void Function(
dynamic message, bool fromExecutingContext);