ErrModel constructor
      const
      ErrModel({})
     
    
Constructs a new instance of ErrModel from optional and required parameters.
Implementation
const ErrModel({
  required this.type,
  required this.error,
  this.statusCode,
  this.stackTrace,
});