add method Null safety

void add(
  1. DiagnosticsNode property
)

Add a property to the list of properties.

Implementation

void add(DiagnosticsNode property) {
  assert(() {
    properties.add(property);
    return true;
  }());
}