updateBindings method
Updates any data binding in the given notification.
Instead of a text value, you can replace any value in the <binding>
element with {name}
, and then use this function to update that value
by passing data: {'name': value}
.
Implementation
@override
Future<NotificationUpdateResult> updateBindings({
required int id,
required Map<String, String> bindings,
}) async =>
NotificationUpdateResult.success;