BackendlessMessaging class

Constructors

BackendlessMessaging()
factory

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

cancel(String messageId) Future<MessageStatus?>
getDeviceRegistration() Future<DeviceRegistration?>
getMessageStatus(String messageId) Future<MessageStatus?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publish<T>(T message, {String? channelName, PublishOptions? publishOptions, DeliveryOptions? deliveryOptions}) Future<MessageStatus?>
pushWithTemplate(String templateName, [Map? templateValues]) Future<MessageStatus?>
registerDevice([List<String>? channels, DateTime? expiration, MessageHandler? onMessage]) Future<DeviceRegistrationResult?>
sendEmail(String subject, BodyParts bodyParts, List<String> recipients, [List<String>? attachments]) Future<MessageStatus?>
sendEmailFromTemplate(String templateName, EmailEnvelope envelope, [Map<String, String>? templateValues, List<String>? attachments]) Future<MessageStatus?>
sendHTMLEmail(String subject, String messageBody, List<String> recipients) Future<MessageStatus?>
sendTextEmail(String subject, String messageBody, List<String> recipients) Future<MessageStatus?>
subscribe([String channelName = DEFAULT_CHANNEL_NAME]) Future<Channel?>
toString() String
A string representation of this object.
inherited
unregisterDevice([List<String>? channels]) Future<int?>

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

DEFAULT_CHANNEL_NAME → const String