replace method

dynamic replace(
  1. String text
)

Implementation

replace(String text) {
  // TODO: put in next frame and return a future
  replaceSync(text);
}