RunResult class final

Result of NativeBindings.run.

Contains either a JSON result string or an error message.

Constructors

RunResult({required int tag, String? resultJson, String? errorMessage})
Creates a RunResult.
const

Properties

errorMessage String?
Error message (when tag == 1).
final
hashCode int
The hash code for this object.
no setterinherited
resultJson String?
JSON string with the execution result (when tag == 0).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag int
0 = OK, 1 = error.
final

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