addDescriptionOf method

  1. @override
Description addDescriptionOf (
  1. dynamic value

Appends a description of value. If it is an IMatcher use its describe method; if it is a string use its literal value after escaping any embedded control characters; otherwise use its toString() value and wrap it in angular "quotes".


Description addDescriptionOf(value) {
  if (value is Matcher) {
  } else {
    add(prettyPrint(value, maxLineLength: 80, maxItems: 25));
  return this;