SentNotification class

Annotations
  • @JsonSerializable(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)

Constructors

SentNotification({required DateTime createdAt, String details = '{}', required String id, required String message, required String recieverUserId, required String senderUserId, String? senderUsername, required NotificationType type})
Returns a new SentNotification instance.
SentNotification.fromJson(Map<String, dynamic> json)
factory

Properties

createdAt DateTime
final
details String
NOTICE: This is not a JSON object, this is a json encoded object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType.
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
message String
final
recieverUserId String
A users unique ID, usually in the form of usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469. Legacy players can have old IDs in the form of 8JoV9XEdpo. The ID can never be changed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senderUserId String
A users unique ID, usually in the form of usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469. Legacy players can have old IDs in the form of 8JoV9XEdpo. The ID can never be changed.
final
senderUsername String?
-| DEPRECATED: VRChat API no longer return usernames of other users. See issue by Tupper for more information.
final
type NotificationType
final

Methods

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

Operators

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