FriendAddEvent class

A FriendAddEvent is sent when the user has either accepted a friend request, or has had one of their friend requests accepted.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

FriendAddEvent({required String userId, required User user})
Create a FriendAddEvent with the given userId and user
FriendAddEvent.fromJson(Map<String, dynamic> json)
Create a FriendAddEvent from json
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type VrcStreamingEventType
The type of VrcStreamingEvent received
no setteroverride
user User
The user object of the user this event is about
finalinherited
userId String
The userId of the user this event is about
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert a FriendAddEvent to json
toString() String
A string representation of this object.
inherited

Operators

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