ExecutionResponse class

An object that provides the return value of a function executed through the Apps Script Execution API. If an run call succeeds and the script function returns successfully, the response body's response field will contain this ExecutionResponse object.

Constructors

ExecutionResponse()
ExecutionResponse.fromJson(Map _json)

Properties

result Object
The return value of the script function. The type will match the type returned in Apps Script. Functions called through the Execution API cannot return Apps Script-specific objects (such as a Document or Calendar); they can only return primitive types such as a string, number, array, object, or boolean. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() Map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited