callback property

FutureOr<R> Function(Q message) get callback

The callback that will be called when the app is running on Dart VM (Android, iOS, macOS, etc).

This must be a top-level function.

Implementation

FutureOr<R> Function(Q message) get callback;