trim method

FunctionExpression trim([
  1. Object? characters
])

This string without leading and trailing whitespace, or without the leading and trailing characters of characters when given.

Implementation

FunctionExpression trim([Object? characters]) =>
    _function('trim', <Object?>[?characters]);