OSActionButton class

Represents a button sent as part of a push notification

Constructors

OSActionButton({required String id, required String text, String? icon})
OSActionButton.fromJson(Map<String, dynamic> json)

Properties

hashCode int
The hash code for this object.
no setterinherited
icon String?
(Android only) The URL/filename to show as the button's icon
getter/setter pair
id String
The custom unique ID for this button
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The text to display for the button
getter/setter pair

Methods

convertToJsonString(Map<String, dynamic>? object) String
inherited
jsonRepresentation() String
mapRepresentation() Map<String, dynamic>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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