Creates a Problem with the given message, stacktrace and isFailure.
const Problem(this.message, this.stacktrace, this.isFailure);