error property

dynamic get error

Implementation

dynamic get error {
  if (this is ErrorStatus) {
    return (this as ErrorStatus).error;
  }
  return null;
}