receiver property

Object? receiver
final

receiver is nullable because (1) we can reflect on the null object and hence it can be the receiver, (2) a static method invocation uses the reflected type as the receiver, but null is used when no capability was requested for the reflected type, and (3) a top-level function uses null as the receiver.

Implementation

final Object? receiver;