Subscriber class

Annotations
  • @JsonSerializable()

Constructors

Subscriber.new({String? id, String? firstName, String? lastName, String? email, String? phone, String? avatar, String? locale, required String subscriberId, bool? isOnline, DateTime? lastOnlineAt, required String organizationId, required String environmentId, required bool deleted, required DateTime createdAt, required DateTime updatedAt, required String v})
Subscriber.fromJson(Map<String, dynamic> json)
factory

Properties

avatar String?
final
channels List<Channel>
Channels settings for subscriber
final
createdAt DateTime
latefinal
deleted bool
latefinal
email String?
final
environmentId String
latefinal
firstName String?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
The internal id novu generated for your subscriber, this is not the subscriberId matching your query.
final
isOnline bool?
final
lastName String?
final
lastOnlineAt DateTime?
final
locale String?
final
organizationId String
latefinal
phone String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriberId String
The internal identifier you used to create this subscriber, usually correlates to the id the user in your systems
latefinal
topics List<String>
Topics that subscriber belongs to
final
updatedAt DateTime
latefinal
v String
latefinal

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.
inherited

Operators

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