invokeStaticMethod<R> method
R?
invokeStaticMethod<R>(])
Invokes the static method for methodName
.
Implementation
R? invokeStaticMethod<R>(
String methodName, Iterable<Object?>? positionalArguments,
[Map<Symbol, Object?>? namedArguments]) {
var method = staticMethod(methodName);
return method?.invoke(positionalArguments, namedArguments);
}