toString method

  1. @override
String toString()
override

Returns the String format of the error

Implementation

@override
String toString() {
  if (_exception != null) {
    return _exception.toString();
  } else if (_error != null) {
    return _error.toString();
  } else {
    return runtimeType.toString();
  }
}