TextModerationExtension class

TextModerationExtension is the controller class for enabling and disabling the extension the extension censors out abusive words and sensitive information such as personal details, email ids

Inheritance

Properties

configuration TextModerationConfiguration?
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
override
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