PollsExtension class
PollsExtension is the controller class for enabling and disabling the extension this extension allows to create a poll bubble will be received on the client side realtime through the message listener onCustomMessageReceived
- Inheritance
-
- Object
- ExtensionsDataSource
- PollsExtension
Constructors
- PollsExtension({PollsConfiguration? configuration})
Properties
- configuration ↔ PollsConfiguration?
-
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