Error constructor

Error({
  1. required String title,
  2. required String detail,
  3. String? code,
  4. ErrorSource? source_,
})

Returns a new Error instance.

Implementation

Error({
  required this.title,
  required this.detail,
  this.code,
  this.source_,
});