AppwinInAppContent class

What an AppwinInAppMessage actually shows. Every field is optional: the studio composes the message in the dashboard and may leave any of them out.

Constructors

AppwinInAppContent({String? title, String? body, String? imageUrl, String? deeplink, List<AppwinInAppButton>? buttons})
Builds a payload.
const
AppwinInAppContent.fromMap(Map map)
Decodes what the native side sends over the method channel.
factory

Properties

body String?
Body copy.
final
buttons List<AppwinInAppButton>?
Calls to action, in the order the studio arranged them.
final
Where tapping the message itself should take the user, independently of any button.
final
hashCode int
The hash code for this object.
no setterinherited
imageUrl String?
Illustration to show above the text.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
Headline, absent on an image-only message.
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