update method

  1. @override
String update (
  1. String line
)
override

Implementation

@override
String update(String line) {
  return line.replaceAllMapped(RegExp('($key[ ]*=[ ]*)"[a-zA-Z-_0-9.]*"'),
      (Match match) => '${match[1]}"$value"');
}