debugFillDescription method

  1. @protected
  2. @mustCallSuper
void debugFillDescription (List<String> description)
@mustCallSuper, @protected

Add additional information to the given description for use by toString.

Implementation

@protected
@mustCallSuper
void debugFillDescription(List<String> description) {
  try {
    final int children = estimatedChildCount;
    if (children != null)
      description.add('estimated child count: $children');
  } catch (e) {
    description.add('estimated child count: EXCEPTION (${e.runtimeType})');
  }
}