getText method

String getText()

Returns the text of the matched AnyText via Widget.toDiagnosticsNode

Implementation

String getText() {
  return getDiagnosticProp<String>('text');
}