replace method

bool replace(
  1. String token,
  2. String newToken
)

Implementation

bool replace(String token, String newToken) =>
    js_util.callMethod(this, 'replace', [token, newToken]);