NoSuchMethodError.withInvocation constructor Null safety
- Object? receiver,
- Invocation invocation
Create a NoSuchMethodError corresponding to a failed method call.
The receiver
is the receiver of the method call.
That is, the object on which the method was attempted called.
The invocation
represents the method call that failed.
Implementation
external NoSuchMethodError.withInvocation(
Object? receiver, Invocation invocation);