InspiroBot class
An InspiroBot API client.
Use this to receive images and mindfulness mode data. Call close when the object is no longer in use to close open connections.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → void - Closes the client, closes any open connections.
-
generate(
{bool christmas = false}) → Future< Uri> - Generates an InspiroBot image, completing with the image URL.
-
getMindfulnessModeSet(
MindfulnessMode mindfulnessMode) → Future< MindfulnessModeSet> - Retrieves a set of Mindfulness Mode instructions.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startMindfulnessMode(
) → Future< MindfulnessMode> - Starts a Mindfulness Mode session.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited