simplifyAt method

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

Implementation

String simplifyAt(int index,
    {bool trim = true,
    bool collapseSapces = true,
    bool lowerCase = true,
    String nullValue = ''}) {
  var self = this;
  return self != null && index < self.length
      ? self.elementAt(index).simplify(
          trim: trim,
          collapseSapces: collapseSapces,
          lowerCase: lowerCase,
          nullValue: nullValue)
      : '';
}