isError property

bool get isError

Returns true if the response is an error.

Implementation

bool get isError => this.object == ObjectTypes.Error;