NoSuchMethodError.withInvocation constructor
- @Deprecated("Dart 2.0. Will be renamed to become default constructor")
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. It
should not be null
.
Implementation
@Deprecated("Dart 2.0. Will be renamed to become default constructor")
external NoSuchMethodError.withInvocation(
Object receiver, Invocation invocation);