simplifyAll method

String simplifyAll({
  1. bool trim = true,
  2. bool collapseSapces = true,
  3. bool lowerCase = true,
  4. String nullValue = '',
  5. String separator = ' , ',
})

Implementation

String simplifyAll(
        {bool trim = true,
        bool collapseSapces = true,
        bool lowerCase = true,
        String nullValue = '',
        String separator = ' , '}) =>
    this
        ?.map((e) => e.simplify(
            trim: trim,
            collapseSapces: collapseSapces,
            lowerCase: lowerCase,
            nullValue: nullValue))
        .join(separator) ??
    '';