MethodChannelSendbirdNotificationHandler class
An implementation of SendbirdNotificationHandlerPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- SendbirdNotificationHandlerPlatform
- MethodChannelSendbirdNotificationHandler
Constructors
Properties
- eventChannel → EventChannel
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
final
-
onMessage
→ Stream<
BirdMessage> -
no setteroverride
-
onMessageOpened
→ Stream<
BirdMessage> -
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getInitialMessage(
) → Future< BirdMessage?> -
override
-
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.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited