DataroomLink class

Constructors

DataroomLink({bool? allowDownload, List<String> allowList = const [], int? createdAt, String? dataroomId, List<String> denyList = const [], String? documentId, bool? emailProtected, int? expiresAt, bool? hasPassword, String? id, bool? isArchived, String? linkType, String? name, int? updatedAt})
Returns a new DataroomLink instance.

Properties

allowDownload ↔ bool?
AllowDownload is whether a visitor may download, rather than only view.
getter/setter pair
allowList ↔ List<String>
AllowList narrows which addresses pass the email gate. An entry may be a full address, an "@domain.com" suffix, or a bare "domain.com". An EMPTY list admits everyone.
getter/setter pair
createdAt ↔ int?
CreatedAt is when the link was minted, in unix milliseconds.
getter/setter pair
dataroomId ↔ String?
DataroomId is the room the link opens, null for a single-document link.
getter/setter pair
denyList ↔ List<String>
DenyList rejects addresses, in the same three forms as the allow list, and is checked BEFORE it — so deny always wins.
getter/setter pair
documentId ↔ String?
DocumentId is the document the link opens, null for a room link.
getter/setter pair
emailProtected ↔ bool?
EmailProtected is whether a visitor must state an address to enter.
getter/setter pair
expiresAt ↔ int?
ExpiresAt is when the link closes, in unix milliseconds; null never expires.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
hasPassword ↔ bool?
HasPassword reports THAT a password is set. The stored form is a bcrypt hash and no route returns it.
getter/setter pair
id ↔ String?
ID is the link id — the public token a visitor opens the room with.
getter/setter pair
isArchived ↔ bool?
IsArchived is whether the link has been retired.
getter/setter pair
linkType ↔ String?
LinkType is DATAROOM_LINK or DOCUMENT_LINK.
getter/setter pair
name ↔ String?
Name is the link's label, null when none was given.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updatedAt ↔ int?
UpdatedAt is when the link last changed, in unix milliseconds.
getter/setter pair

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

Static Methods

fromJson(dynamic value) → DataroomLink?
Returns a new DataroomLink instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<DataroomLink>
mapFromJson(dynamic json) → Map<String, DataroomLink>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<DataroomLink>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.