replaceMethod method

dynamic replaceMethod(
  1. Map? methodMap,
  2. String? exp
)

Implementation

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