FriendActiveEvent class
A FriendActiveEvent is sent when one of the user’s friends is active on the website.
- Inheritance
-
- Object
- VrcStreamingEvent
- FriendEvent
- FriendEventWithUser
- FriendActiveEvent
- Annotations
-
- @JsonSerializable()
Constructors
- FriendActiveEvent({required String userId, required User user})
- Create a FriendActiveEvent with the given userId and user
-
FriendActiveEvent.fromJson(Map<
String, dynamic> json) -
Create a FriendActiveEvent 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 FriendActiveEvent to json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited