NotificationButtonData class
When there are buttons in the notification they are accessible through callbacks.
For every button there would be an object in the callback notification data object.
And also when a button is clicked, it's id and text will be passes separately in onNotificationButtonClicked
callback.
Constructors
- NotificationButtonData.create(String? _title, String? _icon)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromList(
dynamic buttons) → List< NotificationButtonData> -
fromMap(
dynamic data) → NotificationButtonData?