replace method

Future replace(
  1. String text
)

Implementation

Future replace(String text) async {
  return Future(() {
    replaceSync(text);
  });
}