ErrorResult constructor

const ErrorResult({
  1. required int statusCode,
  2. required String title,
  3. String? message,
  4. String type = 'about:blank',
  5. String? instance,
  6. dynamic details,
  7. StackTrace? stackTrace,
  8. Map<String, dynamic> extensions = const {},
})

Implementation

const ErrorResult({
  required this.statusCode,
  required this.title,
  this.message,
  this.type = 'about:blank',
  this.instance,
  this.details,
  this.stackTrace,
  this.extensions = const {},
});