Collection class

Collection

Implemented types

Constructors

Collection({required String $id, required String $createdAt, required String $updatedAt, required List $permissions, required String databaseId, required String name, required bool enabled, required bool documentSecurity, required List attributes, required List<Index> indexes})
Collection.fromMap(Map<String, dynamic> map)
factory

Properties

$createdAt String
Collection creation date in ISO 8601 format.
final
$id String
Collection ID.
final
$permissions List
Collection permissions. Learn more about permissions.
final
$updatedAt String
Collection update date in ISO 8601 format.
final
attributes List
Collection attributes.
final
databaseId String
Database ID.
final
documentSecurity bool
Whether document-level permissions are enabled. Learn more about permissions.
final
enabled bool
Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.
final
hashCode int
The hash code for this object.
no setterinherited
indexes List<Index>
Collection indexes.
final
name String
Collection name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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