NoSuchMethodError.withInvocation constructor Null safety
Creates a NoSuchMethodError corresponding to a failed method call.
receiver is the receiver of the method call.
That is, the object on which the method was attempted called.
invocation represents the method call that failed. It
should not be
external factory NoSuchMethodError.withInvocation( Object? receiver, Invocation invocation);