describeForError method

DiagnosticsNode describeForError(
  1. String name
)

Adds a debug representation of a Ticker optimized for including in error messages.

Implementation

DiagnosticsNode describeForError(String name) {
  // TODO(jacobr): make this more structured.
  return DiagnosticsProperty<Ticker>(name, this, description: toString(debugIncludeStack: true));
}