MessageTranslationExtension class
MessageTranslationExtension is the controller class for enabling and disabling the extension this extension temporarily translates text to the default language of the device if it is not so originally
- Inheritance
-
- Object
- ExtensionsDataSource
- MessageTranslationExtension
Constructors
- MessageTranslationExtension({MessageTranslationConfiguration? configuration})
Properties
- configuration ↔ MessageTranslationConfiguration?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addExtension(
) → void -
addExtension method to add extension
override
-
enable(
{dynamic onSuccess(bool success)?, dynamic onError(CometChatException exception)?}) → void -
Method to populate data source
inherited
-
getExtensionId(
) → String -
getExtensionId returns the id of the extension
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited