text property

String? text

All text nodes within the fixture.

Provided as a convenience to do simple expect matchers.

Implementation

String? get text => rootElement.text;