ErrorCollection constructor

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

Implementation

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