Problem constructor

Problem({
  1. required String message,
  2. required String stacktrace,
  3. required bool isFailure,
})

Factory constructor to create a Problem

Implementation

factory Problem({
  /// The error's message.
  required String message,

  /// The error's stack trace, in the [stack_trace](https://pub.dev/packages/stack_trace) package format
  required String stacktrace,

  /// Whether the error was a `TestFailure`
  required bool isFailure,
}) = _Problem;