debugAssertIsValid method Null safety

bool debugAssertIsValid()

In debug mode, throws an exception if the object is not in a valid configuration. Otherwise, returns true.

This is intended to be used as follows:

assert(myInlineSpan.debugAssertIsValid());

Implementation

bool debugAssertIsValid() => true;