LaravelEchoMigration class abstract

Inheritance

Constructors

LaravelEchoMigration(StorageDatabase storageDatabase, String collectionId)

Properties

channel Channel
no setter
collectionId String
getter/setter pairinherited
eventsNames Map<EventsType, String>
no setter
hashCode int
The hash code for this object.
no setterinherited
indexName String
getter/setter pair
itemName String
no setter
migrationName String
no setter
parent StorageCollection?
getter/setter pairinherited
path String
no setterinherited
randomStreamId String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storageDatabase StorageDatabase
finalinherited
storageListeners → StorageListeners
no setterinherited

Methods

collection(String collectionId) StorageCollection
inherited
delete({bool log = true}) Future<bool>
inherited
deleteItem(dynamic itemId, {bool log = true}) Future<bool>
inherited
get({String? streamId}) Future
inherited
getCollections() Future<Map<dynamic, StorageCollection>>
inherited
getMapCollections(dynamic data) Map<dynamic, StorageCollection>
inherited
hasCollectionId(dynamic docId) Future<bool>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onCreate(Map data) → dynamic
onDelete(Map data) → dynamic
onUpdate(Map data) → dynamic
set(dynamic data, {bool log = true, bool keepData = true}) Future
inherited
setup() → dynamic
stream({dynamic delayCheck = const Duration(milliseconds: 50)}) Stream
inherited
streamDocs() Stream<Map<dynamic, StorageCollection>>
inherited
toString() String
A string representation of this object.
inherited

Operators

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