dynamic replaceMethod(Map? methodMap, String? exp) { var body; if (methodMap != null && exp != null && isFuncExp(exp)) { body = methodMap[subFunctionName(exp)]; } return body; }