lastMethodSuccess property

bool get lastMethodSuccess

Indicates the success or failure of the most recent method call: true means success, false means failure. This property remains unchanged by property setters or getters. This method is present to address challenges in checking for null or Nothing returns in certain programming languages. Note: This property does not apply to methods that return integer values or to boolean-returning methods where the boolean does not indicate success or failure.

Implementation

bool get lastMethodSuccess =>
    _CkStringBuilder_get_LastMethodSuccess(_handle) != 0;
set lastMethodSuccess (bool value)

Implementation

set lastMethodSuccess(bool value) =>
    _CkStringBuilder_put_LastMethodSuccess(_handle, value ? 1 : 0);