On this page
replaceAll abstract method
String replaceAll(Replaces all substrings that match from with replace.
Returns a new string in which the non-overlapping substrings matching from (the ones iterated by from.allMatches(thisString)) are replaced by the literal string replace.
'resume'.replaceAll(new RegExp(r'e'), 'é'); // 'résumé'
  Notice that the replace string is not interpreted. If the replacement depends on the match (for example on a RegExp's capture groups), use the replaceAllMapped method instead.
Source
String replaceAll(Pattern from, String replace);
  © 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
 https://api.dartlang.org/stable/1.24.3/dart-core/String/replaceAll.html