AppwriteOffline class

Configuration class for AppwriteAdapter

Properties

databaseId String
final
endpoint String
final
hashCode int
The hash code for this object.
no setterinherited
projectId String
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

client → Client
Get the registered Appwrite client
no setter
databases → Databases
Get the registered Databases service
no setter
instance AppwriteOffline
Get the current configuration
no setter
isInitialized bool
Checks if all required services are properly initialized
no setter
realtime → Realtime
Get the registered Realtime service
no setter

Static Methods

dispose() → void
Disposes all registered services Useful when you need to reinitialize the configuration
initialize({required String projectId, required String databaseId, String endpoint = 'https://cloud.appwrite.io/v1', bool selfSigned = false, String? jwt}) → void
Initializes the AppwriteAdapter configuration and sets up Appwrite services
updateJWT(String jwt) → void
Updates the JWT token for the current client Useful when you need to update authentication after initialization