NotificationButton class

The button to display in the notification.

Constructors

NotificationButton({required String id, required String text, Color? textColor})
Constructs an instance of NotificationButton.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
The button identifier.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The text to display on the button.
final
textColor Color?
The button text color.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns the data fields of NotificationButton in JSON format.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited