Document class

Document

Implemented types

Constructors

Document({required String $id, required String $collectionId, required String $databaseId, required String $createdAt, required String $updatedAt, required List<String> $permissions, required Map<String, dynamic> data})
Document.fromMap(Map<String, dynamic> map)
factory

Properties

$collectionId String
Collection ID.
final
$createdAt String
Document creation date in ISO 8601 format.
final
$databaseId String
Database ID.
final
$id String
Document ID.
final
$permissions List<String>
Document permissions. Learn more about permissions.
final
$updatedAt String
Document update date in ISO 8601 format.
final
data Map<String, dynamic>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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