removeTrailingUnder method

String removeTrailingUnder(
  1. String value
)

Implementation

String removeTrailingUnder(String value) =>
    value.startsWith('_') ? value.substring(1) : value;