isError property Null safety

dynamic isError

Implementation

get isError => error != null;