any<T> function
An argument matcher that matches any argument passed in.
Implementation
T any<T>({String? named, Matcher? that}) {
return _registerMatcher(
that ?? anything,
capture: false,
named: named,
argumentMatcher: named != null ? 'anyNamed' : 'any',
);
}