WebNotificationTransformer typedef

WebNotificationTransformer = Future<Map<String, dynamic>> Function(Map<String, dynamic> model)

Rewrites the model of a notification being created on the web (a new map), before any builder sees it: the notification and its events report the result. The web counterpart of the native builder decorators.

Implementation

typedef WebNotificationTransformer = Future<Map<String, dynamic>> Function(
    Map<String, dynamic> model);