isError method

bool isError ()

Determines if this response represents an error.

Implementation

bool isError() => (errorCode != null) && (errorDetail != null);