LydiaSession class

Represents a single Lydia session.

You needn't directly instantiate this class.

Constructors

LydiaSession(Map<String, dynamic> data, Lydia client)

Properties

available bool
Whether this session has expired or not.
read / write
expires int
Unix timestamp for when this session will expire.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
id String
Unique identifier of the current session.
read / write
language String
Language this session started in.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
thinkThought(String message) Future<String>
Processes user input and returns text response of the AI.
toString() String
A string representation of this object.
override

Operators

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