ActivityLog class

Constructors

ActivityLog({String? otherUserUid, String? category, String? postId, String? commentId, required int createdAt})
const
ActivityLog.fromJson(Map<String, dynamic> json)
factory

Properties

category String?
final
commentId String?
final
createdAt int
final
hashCode int
The hash code for this object.
no setterinherited
otherUserUid String?
Variables
final
postId String?
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

chatJoinPath String
no setter
chatJoinRef → DatabaseReference
no setter
commentCreatePath String
no setter
commentCreateRef → DatabaseReference
no setter
postCreatePath String
no setter
postCreateRef → DatabaseReference
no setter
ref → DatabaseReference
no setter
root → DatabaseReference
no setter
userLikePath String
no setter
userLikeRef → DatabaseReference
no setter
userProfileViewPath String
no setter
userProfileViewRef → DatabaseReference
no setter

Static Methods

categoryCreateRef(String category) → dynamic
chatJoin(String roomId) Future<void>
chat join(enter) activity
commentCreate({required String postId, required String commentId}) Future<void>
Create a new post
postCreate({required String category, required String postId}) Future<void>
Create a new post
userLike(String otherUserUid, bool re) Future<void>
userProfileView(String otherUserUid) Future<void>
User profile view activity
whoLikedMeRef(String otherUserUid) → DatabaseReference
whoViewedMeRef(String otherUserUid) → DatabaseReference

Constants

node → const String
Paths and Refs