describeValue method Null safety

  1. @override
String describeValue(
  1. T value
)
override

Returns the string that will be used to both add to the test description, and be printed when a test fails for this variation.

Implementation

@override
String describeValue(T value) => value.toString().replaceFirst('$T.', '');