Easybeam class

Constructors

Easybeam(EasyBeamConfig config)

Properties

baseUrl String
final
config EasyBeamConfig
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
getEndpoint({required String endpoint, required String id, String? userId, required Map<String, String> filledVariables, required List<ChatMessage> messages}) Future<PortalResponse>
getPortal({required String portalId, String? userId, required Map<String, String> filledVariables, required List<ChatMessage> messages}) Future<PortalResponse>
getWorkflow({required String workflowId, String? userId, required Map<String, String> filledVariables, required List<ChatMessage> messages}) Future<PortalResponse>
injectHttpClient(Client client) → void
injectStreamGetter(StreamGetter streamGetter) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
review({required String chatId, String? userId, int? reviewScore, String? reviewText}) Future<void>
streamEndpoint({required String endpoint, required String id, String? userId, required Map<String, String> filledVariables, required List<ChatMessage> messages, required dynamic onNewResponse(PortalResponse), required dynamic onClose(), required dynamic onError(dynamic)}) CancelFunction
streamPortal({required String portalId, String? userId, required Map<String, String> filledVariables, required List<ChatMessage> messages, required dynamic onNewResponse(PortalResponse), required dynamic onClose(), required dynamic onError(dynamic)}) CancelFunction
streamWorkflow({required String workflowId, String? userId, required Map<String, String> filledVariables, required List<ChatMessage> messages, required dynamic onNewResponse(PortalResponse), required dynamic onClose(), required dynamic onError(dynamic)}) CancelFunction
toString() String
A string representation of this object.
inherited

Operators

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