ListenDelegate class abstract
Contains the operations for listen delegates.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toID<
T> (Type type, String id, {void onCreate(T object)?, void onChange(T object)?, void onDelete()?, void onNull()?, String? subcollection}) → StreamSubscription< T?> - Listens to changes in an object using its ID and type.
-
toIDs<
T> (Type type, List< String> ids, {void onCreate(T object)?, void onChange(T object)?, void onDelete()?, void onNull()?, String? subcollection}) → List<StreamSubscription< T?> > - Listens to changes in multiple objects using their IDs and type.
-
toObject<
T> (dynamic object, {void onCreate(T object)?, void onChange(T object)?, void onDelete()?, void onNull()?, String? subcollection}) → StreamSubscription< T?> - Listens to changes in an object.
-
toObjects<
T> (List objects, {void onCreate(T object)?, void onChange(T object)?, void onDelete()?, void onNull()?, String? subcollection}) → List< StreamSubscription< T?> > - Listens to changes in multiple objects.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited