SendbirdNotificationHandlerPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- SendbirdNotificationHandlerPlatform
- Implementers
Constructors
- SendbirdNotificationHandlerPlatform()
- Constructs a SendbirdNotificationHandlerPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onMessage
→ Stream<
BirdMessage> -
no setter
-
onMessageOpened
→ Stream<
BirdMessage> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getInitialMessage(
) → Future< BirdMessage?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
showNotification(
{String? title, String? body, required Map< String, dynamic> payload}) → Future<void> -
Shows a notification with the specified
title,bodyandpayload. If title is null, the title will default to 'Message from {sender_name}'. If body is null, the body will default to the message. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ SendbirdNotificationHandlerPlatform
-
The default instance of SendbirdNotificationHandlerPlatform to use.
getter/setter pair