AppwinCommunityCreatedPost class
A post created by AppwinCommunity.createPost.
Constructors
- AppwinCommunityCreatedPost({required String id, required AppwinCommunityPostStatus status})
-
Builds a created post. The SDK decodes them for you; this is here for tests.
const
- AppwinCommunityCreatedPost.fromMap(Map map)
-
Decodes the map the native SDKs send over the channel.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
The post's id, for
AppwinCommunity.openPost.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → AppwinCommunityPostStatus
-
Where moderation put the post.
final
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