removeFirst method

String removeFirst([
  1. int? upto
])

Remove first element of string

Implementation

String removeFirst([int? upto]) =>
    minLen(2) ? substring(upto ?? 1, length) : '';