SimpleErrorCollection constructor

SimpleErrorCollection({
  1. List<String>? errorMessages,
  2. Map<String, dynamic>? errors,
  3. int? httpStatusCode,
})

Implementation

SimpleErrorCollection(
    {List<String>? errorMessages, this.errors, this.httpStatusCode})
    : errorMessages = errorMessages ?? [];