resultType property

String get resultType

The type of this result, which determines how to parse it.

Known types are "complete" and "input_required", but a server may send any other string. Servers on protocol versions before 2026-07-28 omit the field; the schema requires treating that as "complete", so an absent value is reported here as "complete".

Implementation

String get resultType =>
    _value[Keys.resultType] as String? ?? ResultTypes.complete;