simplify method

String simplify({
  1. bool trim = true,
  2. bool collapseSpaces = true,
  3. bool lowerCase = true,
  4. String nullValue = '',
})

Implementation

String simplify({
  bool trim = true,
  bool collapseSpaces = true,
  bool lowerCase = true,
  String nullValue = '',
}) =>
    this?.textContent.simplify(
      trim: trim,
      collapseSpaces: collapseSpaces,
      lowerCase: lowerCase,
      nullValue: nullValue,
    ) ??
    '';