This was fun to implement, and should close #79.
One thing I was not sure yet how to handle this was: The parameters in prefix and suffix in removeSurrounding are named, but must be given - otherwise this will throw an exception. First I wanted to add the meta dependency in the pubspec to add @required, but then I thought that maybe with non-null support in Dart this will be handled later anyway.
What do you think @leisim @passsy? 🙂
This was fun to implement, and should close #79. One thing I was not sure yet how to handle this was: The parameters in
prefix
andsuffix
inremoveSurrounding
are named, but must be given - otherwise this will throw an exception. First I wanted to add themeta
dependency in the pubspec to add@required
, but then I thought that maybe with non-null support in Dart this will be handled later anyway. What do you think @leisim @passsy? 🙂