If true, this instance represents an error response.
error
Error responses contain a non-null error value.
non-null
bool get isError => error != null;