simplify method

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

Implementation

List<String> simplify({
  bool trim = true,
  bool collapseSpaces = true,
  bool lowerCase = true,
  String nullValue = '',
}) =>
    this
        ?.map(
          (e) => e.simplify(
            trim: trim,
            collapseSpaces: collapseSpaces,
            lowerCase: lowerCase,
            nullValue: nullValue,
          ),
        )
        .toList() ??
    <String>[];