ActivityFeed class
Constructors
- ActivityFeed.new({String id = "", String ownerId = "", String profileId = "", String profileName = "", String profileImgUrl = "", String message = "", String activityReferenceId = "", ActivityFeedType? activityFeedType, String mediaUrl = "", int createdTime = 0, bool unread = true})
- ActivityFeed.fromAppBot({required String toProfileId, required dynamic referenceId, required ActivityFeedType type, String message = '', String mediaUrl = ''})
- ActivityFeed.fromComment({required PostComment comment, required ActivityFeedType type, AppProfile? fromProfile, String? mediaUrl})
- ActivityFeed.fromEvent({required Event event, required AppProfile fromProfile, required ActivityFeedType type, String msg = ''})
- ActivityFeed.fromJSON(dynamic data)
- ActivityFeed.fromPost({required Post post, required AppProfile fromProfile, required ActivityFeedType type, String msg = ''})
- ActivityFeed.fromRequest({required AppRequest request, required ActivityFeedType type, required AppProfile fromProfile, String mediaUrl = '', bool isResponse = false, bool isEvent = true, String? message})
Properties
- activityFeedType ↔ ActivityFeedType?
-
getter/setter pair
- activityReferenceId ↔ String
-
getter/setter pair
- createdTime ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
getter/setter pair
- mediaUrl ↔ String
-
getter/setter pair
- message ↔ String
-
getter/setter pair
- ownerId ↔ String
-
getter/setter pair
- profileId ↔ String
-
Owner of activity feed
getter/setter pair
- profileImgUrl ↔ String
-
getter/setter pair
- profileName ↔ String
-
Reference to profile if needed
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unread ↔ bool
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → Map< String, dynamic> -
toJSONWithId(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited