Error constructor

Error({
  1. String? message = "ERROR_SOMETHING_WENT_WRONG",
  2. String? code,
})

Implementation

Error({this.message = "ERROR_SOMETHING_WENT_WRONG", this.code});