Failure constructor

Failure({
  1. String? message = 'somethingWentWrong',
  2. String? code = "1",
  3. List<String>? errorsList,
})

Implementation

Failure(
    {this.message = 'somethingWentWrong', this.code = "1", this.errorsList});