SubmitActionInvoke class

Payload delivered to the host onSubmit callback.

Contains merged action data and input values in data, plus optional author-defined actionId from the action JSON.

Constructors

SubmitActionInvoke({required Map<String, dynamic> data, String? actionId})
Creates a submit callback payload with merged data and optional actionId.
const
SubmitActionInvoke.fromActionMap(Map<String, dynamic> actionMap, Map<String, dynamic> data)
Builds from action JSON and collected input data.
factory

Properties

actionId String?
Author-defined action id from card JSON, when present.
final
data Map<String, dynamic>
Merged Action.Submit.data and collected input values (inputs win on key collision).
final
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
toString() String
A string representation of this object.
inherited

Operators

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