DataroomDocument class

Constructors

DataroomDocument({String? contentType, int? createdAt, String? fileKey, int? fileSize, String? id, String? name, int? numPages, String? type, int? updatedAt})
Returns a new DataroomDocument instance.

Properties

contentType ↔ String?
ContentType is the mime type recorded at upload, null when none was sent.
getter/setter pair
createdAt ↔ int?
CreatedAt is when the document was uploaded, in unix milliseconds.
getter/setter pair
fileKey ↔ String?
FileKey is the opaque object-storage key the bytes are stored under. It is scoped to the tenant's own key prefix and is not a URL.
getter/setter pair
fileSize ↔ int?
FileSize is the stored byte count, null when it was not recorded.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the document id.
getter/setter pair
name ↔ String?
Name is the document's display name.
getter/setter pair
numPages ↔ int?
NumPages is the page count, null when it was not supplied at upload.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ String?
Type is the document's kind, null when it was not recorded.
getter/setter pair
updatedAt ↔ int?
UpdatedAt is when the document row 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) → DataroomDocument?
Returns a new DataroomDocument instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<DataroomDocument>
mapFromJson(dynamic json) → Map<String, DataroomDocument>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<DataroomDocument>>

Constants

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