AIApi class
A class to handle API interactions related to AI features. Note: AI endpoints do not require API key authentication.
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
optimizeMessage(
{required String message, required String language, bool? abbreviation, bool? latinize}) → Future< ApiResponseModel< String?> > - Optimizes an SMS message using AI.
-
processMessage(
{required String message}) → Future< ApiResponseModel< AIUrlResponse?> > - Shortens URLs in a message (legacy endpoint).
-
shortenUrl(
{required String message}) → Future< ApiResponseModel< AIUrlResponse?> > - Shortens URLs in a message.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited