AppwinInAppButton class

One call to action on an in-app message.

Constructors

AppwinInAppButton({required String label, required String action, String? url})
Builds a button.
const
AppwinInAppButton.fromMap(Map map)
Decodes what the native side sends over the method channel.
factory

Properties

action String
What tapping it does: deeplink, dismiss, opt_in_push or open_settings. A string for the same reason as AppwinInAppMessage.format: the dashboard may add one first.
final
hashCode int
The hash code for this object.
no setterinherited
label String
The text on the button, already in the studio's wording.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
Target of a deeplink action.
final

Methods

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