Notification class

Model class for notifications.

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

Notification({String? id, Repository? repository, NotificationSubject? subject, String? reason, bool? unread, DateTime? updatedAt, DateTime? lastReadAt, String? url, String? subscriptionUrl})
Notification.fromJson(Map<String, dynamic> input)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
final
lastReadAt DateTime?
final
reason String?
final
repository Repository?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject NotificationSubject?
final
subscriptionUrl String?
final
unread bool?
final
updatedAt DateTime?
final
url String?
final

Methods

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

Operators

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