Problem class

Describes an error when running a test

Annotations
  • @freezed

Constructors

Problem({required String message, required String stacktrace, required bool isFailure})
Factory constructor to create a Problem
factory

Properties

copyWith → $ProblemCopyWith<Problem>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isFailure bool
Whether the error was a TestFailure
no setterinherited
message String
The error's message.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stacktrace String
The error's stack trace, in the stack_trace package format
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited