operator - method

String operator -(
  1. String rhs
)

Implementation

String operator -(String rhs) => replaceAll(rhs, '');