AppwinCommunityPostTarget class

A post to open, from a notification tap or AppwinCommunity.openPost.

Mirrors AppwinCommunityPostTarget in the iOS and Android SDKs.

Constructors

AppwinCommunityPostTarget({required String postId, String? commentId})
Builds a target. The SDK hands them to your onNotificationTap; build one yourself only in a test.
const

Properties

commentId → String?
The root comment whose reply thread opens over the post, null to open the post alone.
final
hashCode → int
The hash code for this object.
no setteroverride
postId → String
The post to open.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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.
override

Static Methods

fromMap(Map<Object?, Object?>? map) → AppwinCommunityPostTarget?
Parses what the native side sends over the method channel. null when the map carries no post id.