InspiroBot class Null safety

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

InspiroBot()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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 non-existent 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