description property

String get description

Get a detailed description of the expectation.

Implementation

String get description {
  final messageSuffix = '$message (value: ${prettifyValue(value)})';

  if (path != null && path!.isNotEmpty) {
    return '$path: $messageSuffix';
  }

  return messageSuffix;
}