simplifyLast method

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

Implementation

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