copy method
Retrieve a deep copy of this DartBlockProgram.
A deep copy means that modifications to the contents of this copied DartBlockProgram, e.g., its contained DartBlockFunctions, will not be reflected by the original DartBlockProgram.
Implementation
DartBlockProgram copy() {
return DartBlockProgram(
mainLanguage,
mainFunction.copy(),
List.from(customFunctions.map((e) => e.copy())),
version,
);
}