clearPointerOrConst method
clears the const keyword or pointers on a string
Implementation
String clearPointerOrConst() =>
replaceAll(RegExp(r"(\*|&|const|(\[.+\]))"), "");
clears the const keyword or pointers on a string
String clearPointerOrConst() =>
replaceAll(RegExp(r"(\*|&|const|(\[.+\]))"), "");