simplify method

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

Implementation

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