MessageProvider<T> class abstract

MessageProvider is a abstract class that will be implemented by all message providers It will be used to communicate with the external message service and return the message to the application.

Implementers

Constructors

MessageProvider.new()

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

init(Map<String, dynamic> config) Future<Map<String, dynamic>>
This method will be used to initialize the message provider
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMessage({required String message, dynamic args}) Future<T>
This method will be used to send the message to the external service and return the message to the application.
toString() String
A string representation of this object.
inherited

Operators

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