containsFunctionCall static method

bool containsFunctionCall(
  1. String source,
  2. String functionName
)

Returns true if source contains a call to functionName.

sourcefunctionNameの呼び出しが含まれている場合はtrueを返します。

Implementation

static bool containsFunctionCall(String source, String functionName) {
  return source.contains("$functionName(");
}