UserUpdateEvent class

A UserUpdateEvent is sent when something regarding the user has been updated. Note that the user object is not a LimitedUser object, even though it has similarities. It’s missing developerType, friendKey, isFriend, lastPlatform and location. It also has extra currentAvatar and currentAvatarAssetUrl fields.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

UserUpdateEvent({required String userId, required StreamedCurrentUser user})
Create a UserUpdateEvent with the given userId and user
UserUpdateEvent.fromJson(Map<String, dynamic> json)
Create a UserUpdateEvent 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 StreamedCurrentUser
The user object
final
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 UserUpdateEvent to json
toString() String
A string representation of this object.
inherited

Operators

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