NotificationReceivedEvent class

A NotificationReceivedEvent carries a Notification object, and are used by Invites, Friend Requests and other in-game notifications.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

NotificationReceivedEvent({required Notification notification})
Create a NotificationReceivedEvent with the given notification
NotificationReceivedEvent.fromJson(Map<String, dynamic> json)
Create a NotificationReceivedEvent from json
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
notification Notification
The Notification object
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type VrcStreamingEventType
The type of VrcStreamingEvent received
no setteroverride

Methods

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

Operators

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