whitelist method

String whitelist(
  1. String chars
)

Removes all characters that do not appear in chars from the string.

Implementation

String whitelist(String chars) => _whitelist(this, chars);