dart_web_toolkit_validation library
Dart Web Toolkit Validation library.
Functions
String substitute(String input, String from, to) #
Convinient method to substitute string with named parameters. Method find the parameter from in curly brackets and change it to value converted to string.
String substitute(String input, String from, dynamic to) { return input.replaceFirst(new RegExp(from), to.toString()); }