Database class

Database

Implemented types

Constructors

Database({required String $id, required String name, required String $createdAt, required String $updatedAt, required bool enabled, required DatabaseType type, required List<BackupPolicy> policies, required List<BackupArchive> archives})
Database.fromMap(Map<String, dynamic> map)
factory

Properties

$createdAt → String
Database creation date in ISO 8601 format.
final
$id → String
Database ID.
final
$updatedAt → String
Database update date in ISO 8601 format.
final
archives → List<BackupArchive>
Database backup archives.
final
enabled → bool
If database is enabled. Can be 'enabled' or 'disabled'. When disabled, the database is inaccessible to users, but remains accessible to Server SDKs using API keys.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
Database name.
final
policies → List<BackupPolicy>
Database backup policies.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → DatabaseType
Database type.
final

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