ContactEventHandler constructor
The contact updates listener callback.
Param onContactAdded Current user is added as a contact by another user.
Param onContactDeleted Current user is removed from the contact list by another user.
Param onContactInvited Current user receives a friend request.
Param onFriendRequestAccepted A friend request is approved.
Param onFriendRequestDeclined A friend request is declined.
Implementation
ContactEventHandler({
this.onContactAdded,
this.onContactDeleted,
this.onContactInvited,
this.onFriendRequestAccepted,
this.onFriendRequestDeclined,
});