StorageDatabase class
Methods
-
clear({bool clearExplorer = true, bool clearNetworkFiles = true})
→ Future
-
-
collection(String collectionId)
→ StorageCollection
-
-
hasCollectionId(dynamic collectionId)
→ Future<bool>
-
-
initAPI({required String apiUrl, bool log = false})
→ StorageAPI
-
-
initExplorer({String? path})
→ Future
-
-
initLaravelEcho(Connector connector, {List<LaravelEchoMigration> migrations = const []})
→ void
-
-
initPusherLaravelEcho(String appKey, List<LaravelEchoMigration> migrations, {required String authEndPoint, String? cluster, String? host, int wsPort = 80, int wssPort = 443, bool encrypted = true, int activityTimeout = 120000, int pongTimeout = 30000, int maxReconnectionAttempts = 6, Duration reconnectGap = const Duration(seconds: 2), bool enableLogging = true, bool autoConnect = true, Map<String, dynamic> channelDecryption(Uint8List, Map<String, dynamic>)?, String? nameSpace})
→ void
-
-
initSocketLaravelEcho(String host, List<LaravelEchoMigration> migrations, {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
-
-
registerModel<MT extends StorageModel>(StorageModel encoder(dynamic data), [String? collectionId])
→ void
-
-
registerModels(Map<Type, StorageModelRegister> models)
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited