Creates an invocation corresponding to a setter invocation.
This constructor accepts any Symbol as memberName
, but remember that actual setter names end in =
, so the invocation corresponding to object.member = value
is
Invocation.setter(const Symbol("member="), value)
factory Invocation.setter(Symbol memberName, Object argument) = _Invocation.setter;
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-core/Invocation/Invocation.setter.html