replaceTextLines method
Replaces all instances of id in the file with linesIn
Implementation
void replaceTextLines(AFCommandContext context, dynamic id, List<String> linesIn) {
/// go through all lines, looking for the id.
final idCode = id.toString();
for(var i = 0; i < lines.length; i++) {
replaceInLine(context, i, idCode, (ctx, options) {
return linesIn;
});
}
}