PostCreator class abstract
Abstract Layer for Amity Post Creator
Constructors
- PostCreator({required PostCreateUsecase useCase, required String targetId, required String targetType})
- Init PostCreator
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
mentionUsers(
List< String> userIds) → PostCreator -
metadata(
Map< String, dynamic> metadata) → PostCreator - Add metadata to Amity Post
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
) → Future< AmityPost> - Create Amity Post
-
text(
String text) → PostCreator - Add text to Amity Post
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited