callsForMethod method

List<MethodCall> callsForMethod({
  1. required String named,
})
inherited

Returns all the MethodCall of a specific method each call will contain the method name and argument

Implementation

List<MethodCall> callsForMethod({required String named}) {
  return methodCallList
      .where((element) => element.methodName == named)
      .toList();
}