ProblemDetail constructor

ProblemDetail(
  1. int status, {
  2. Uri? type,
  3. String? title,
  4. String? detail,
  5. Uri? instance,
  6. Map<String, Object?>? properties,
})

A problem with status and any of the standard members; type defaults to blankType.

Implementation

ProblemDetail(
  this.status, {
  Uri? type,
  this.title,
  this.detail,
  this.instance,
  Map<String, Object?>? properties,
}) : type = type ?? blankType,
     properties = properties ?? {};