getText method

String getText()

Returns the text of the matched Text via Widget.toDiagnosticsNode

Implementation

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