Landbot class

Constructors

Landbot()

Properties

controller StreamController<MessageData>
getter/setter pair
dio ↔ Dio
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isInit bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
webhook Stream<MessageData>
getter/setter pair

Methods

deInitialise() → dynamic
To Deinitialise the Alfred Library
getCustomer({required int id}) Future<Customer?>
For Getting Customers Data
initialise({required dynamic token, bool logNetwork = false, String webHookEndPoint = 'webhook', int webPort = 3000, Function? onSuccess}) → dynamic
Initialize the Alfred Library webHookEndPoint is the Endpoint we have to pass on to Landbot Webhooks
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMessage({required int customerID, String message = 'AutoReply by Landbot'}) → dynamic
For Sending Message
toString() String
A string representation of this object.
inherited

Operators

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