Describes how this package will communicate with app's backend
updateOnServer is called when user's token is stale
deleteOnServer is called e.g. on user logout
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
-
deleteOnServer(
{required String userId}) → FutureOr< void> - Called e.g. on user logout
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateOnServer(
{required String userId, required String fcmToken}) → FutureOr< void> - Called when FCM token is stale
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited