removeFirstChar method

  1. @useResult
String removeFirstChar()

Returns a new string with the first character removed.

Implementation

@useResult
String removeFirstChar() => (length < 1) ? '' : substringSafe(1);