ErrorDescription constructor

ErrorDescription({
  1. required String title,
  2. required int status,
  3. Map<String, Object> errors = const {},
})

Returns a new ErrorDescription instance.

Implementation

ErrorDescription({
  required this.title,
  required this.status,
  this.errors = const {},
});