error property

String? get error

Implementation

String? get error => _model.response.hasError()
    ? '${_model.response.error.message} (code ${_model.response.error.code})'
    : null;