description property
String
get
description
Get a detailed description of the expectation.
Implementation
String get description {
if (path != null && path!.isNotEmpty) {
return '$path: $message';
}
return message;
}