FileModifier extension

on

Methods

addBefore({required String tag, required String content}) → void
Writes content before tag
replaceAll(String text, String replacement) → void
replaceFirst(String text, String replacement) → void
replaceSectionWith({required String startTag, required String endTag, required String content}) → void
Replaces the content between startTag and endTag with content