StrapiObjectListener class
static class which manages all listeners of any strapi collection object
Constructors
-
StrapiObjectListener({required String id, required dynamic listener(Map<
String, dynamic> , bool), required Map<String, dynamic> initailData}) -
listen to a Strapi collection object, listening for now means any new instance of the collection
object with
id
is received will be delivered to thelistner
, no server changes are are streamed as of nowfactory
Properties
Methods
-
dispose(
) → void - call when you no more need to listen and free up resource
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stopListening(
) → void - call when you no more need to listen and free up resource
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited