ServerErrorResponse constructor

ServerErrorResponse({
  1. required String code,
  2. required String message,
  3. required int statusCode,
})

Creates a ServerErrorResponse instance.

All fields are required to construct the object.

Implementation

ServerErrorResponse({
  required this.code,
  required this.message,
  required this.statusCode,
});