StorageDatabase class

Constructors

StorageDatabase(StorageDatabaseSource source)

Properties

explorer StorageExplorer
no setter
hashCode int
The hash code for this object.
no setterinherited
laravelEcho LaravelEcho
no setter
laravelEchoIsInitialized bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source StorageDatabaseSource
final
storageAPI StorageAPI
no setter
storageAPIIsInitialized bool
no setter
storageExplorerIsInitialized bool
no setter
storageListeners → StorageListeners
final

Methods

checkCollectionIdExists(String collectionId) Future<bool>
clear({bool clearExplorer = true, bool clearNetworkFiles = true}) Future
collection(String collectionId) StorageCollection
initAPI({required String apiUrl, Map<String, String> getHeaders(String url)?, bool log = false}) → void
initExplorer({String? path}) Future
initLaravelEcho(Connector connector, List<LaravelEchoMigration> migrations) → void
initPusherLaravelEcho(String appKey, List<LaravelEchoMigration> migrations, {required String authEndPoint, Map<String, String> authHeaders = const {'Content-Type' : 'application/json'}, String? cluster, required String host, int wsPort = 80, int wssPort = 443, bool encrypted = true, int activityTimeout = 120000, int pongTimeout = 30000, int maxReconnectionAttempts = 6, int maxReconnectGapInSeconds = 30, bool enableLogging = true, bool autoConnect = true, String? nameSpace}) → void
initSocketLaravelEcho(String host, List<LaravelEchoMigration> migrations, {Map<String, String>? authHeaders, String? authEndpoint, String? nameSpace, bool autoConnect = true, Map moreOptions = const {}}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onClear(Function func) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getInstance() Future<StorageDatabase>