FriendLocationEvent class
A FriendLocationEvent is sent when one of the user’s friends has changed instances. Note that the world field will be an empty object when the friend is on orange/red, or is in a private world.
- Inheritance
-
- Object
- VrcStreamingEvent
- FriendEvent
- FriendEventWithUser
- FriendLocationEvent
- Annotations
-
- @JsonSerializable()
Constructors
- FriendLocationEvent({required String userId, required User user, required World? world, required String? location, required String? instance, required bool canRequestInvite})
- Create a FriendLocationEvent
-
FriendLocationEvent.fromJson(Map<
String, dynamic> json) -
Create a FriendLocationEvent from json
factory
Properties
- canRequestInvite → bool
-
If the current user can request invite on this friend
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instance → String?
-
final
- location → String?
-
worldId:locationId
final
- 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
- world → World?
-
The world the user joined
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Convert a FriendLocationEvent to json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited