InsightCTA class

InsightCTA

Implemented types

Constructors

InsightCTA({required String label, required String service, required String method, required Map<String, dynamic> params})
InsightCTA.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
label → String
Human-readable label for the CTA, used in UI.
final
method → String
Public API method on the chosen service the client should invoke when this CTA is triggered.
final
params → Map<String, dynamic>
Parameter map the client should pass to the service method when this CTA is triggered. Keys match the target API's parameter names (e.g. databaseId/tableId/columns for tablesDB, databaseId/collectionId/attributes for the legacy Databases API).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
service → String
Public API service (SDK namespace) the client should invoke. Must match the engine that owns the resource — for index suggestions: databases (legacy), tablesDB, documentsDB, or vectorsDB.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

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