error property

String? error

Implementation

String? get error => isSuccess
    ? null
    : (respose["result"]["message"] as String?) ??
        "${respose["transaction"]?["ret"]}";