isMethodCall function Null safety

Matcher isMethodCall(
  1. String name,
  2. {required dynamic arguments}
)

A matcher for MethodCalls, asserting that it has the specified method name and arguments.

Arguments checking implements deep equality for List and Map types.

Implementation

Matcher isMethodCall(String name, { required dynamic arguments }) {
  return _IsMethodCall(name, arguments);
}