NotTested class

Denotes that the annotated element is not tested.

@NotTested(because: 'result is non-deterministic')
int foo() => Random().nextInt(100);
Annotations
  • @Target({...TargetKind.values})
  • @sealed

Constructors

NotTested({required String because})
Creates a NotTested.
const
NotTested.thirdPartyIntegration()
Creates a NotTested denoting that the annotate element is not tested because it is deeply integrated with a 3rd party service/platform.
const

Properties

because String
The reason the annotated location is not tested.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
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