VChatPushProviderBase class abstract
An abstract base class for providing push notification services.
Constructors
- VChatPushProviderBase()
-
const
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
-
askForPermissions(
) → Future< void> - Asks for permission to display notifications.
-
cleanAll(
{int? notificationId}) → Future< void> - Cleans all the notifications.
-
close(
) → void - Closes the push provider.
-
deleteToken(
) → Future< void> - Deletes the token for the push provider.
-
getOpenAppNotification(
) → Future< VBaseMessage?> - Gets the notification that caused the app to open.
-
getToken(
) → Future< String?> - Gets the token for the push provider.
-
init(
) → Future< bool> - Initializes the push provider.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serviceName(
) → VChatPushService - Returns the service name of the push provider.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited