registerHeadlessSyncBodyBuilder abstract method
- Future<
JsonMap> builder(- SyncBodyContext context
Registers a headless-compatible sync body builder.
The callback must be a top-level or static function (not a closure) to work in headless/terminated mode.
Implementation
Future<bool> registerHeadlessSyncBodyBuilder(
Future<JsonMap> Function(SyncBodyContext context) builder,
);