LaravelEchoMigration class abstract

Inheritance

Constructors

LaravelEchoMigration.new(StorageDatabase storageDatabase, String collectionId)

Properties

channel Channel
no setter
collectionId String
getter/setter pairinherited
eventsNames Map<EventsType, String>
no setter
exists Future<bool>
no setterinherited
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 stream = true}) Future<bool>
inherited
deleteItem(dynamic itemId, {bool stream = true}) Future<bool>
inherited
get({String? streamId}) Future
inherited
getAsModel<MT extends StorageModel>({String? streamId}) Future<MT>
inherited
getAsModels<MT extends StorageModel>({String? streamId}) Future<List<MT>>
inherited
getAsModelsSync<MT extends StorageModel>({String? streamId}) List<MT>
inherited
getAsModelSync<MT extends StorageModel>({String? streamId}) → MT
inherited
getCollections() Future<Map<dynamic, StorageCollection>>
inherited
getItem(dynamic docId, {String? streamId}) Future
inherited
getItemSync(dynamic docId, {String? streamId}) → dynamic
inherited
getItemWhere(bool where(dynamic), {String? streamId}) Future
inherited
getItemWhereSync(bool where(dynamic), {String? streamId}) → dynamic
inherited
getMapCollections(dynamic data) Map<dynamic, StorageCollection>
inherited
getSync({String? streamId}) → dynamic
inherited
hasCollectionId(dynamic collectionId) 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 stream = true, bool keepData = true}) Future
inherited
setup() → dynamic
stream({dynamic delayCheck = const Duration(milliseconds: 50)}) Stream
inherited
streamAsModel<MT extends StorageModel>([dynamic delayCheck = const Duration(milliseconds: 50)]) Stream<MT>
inherited
streamAsModels<MT extends StorageModel>([dynamic delayCheck = const Duration(milliseconds: 50)]) Stream<List<MT>>
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