sender property

MessageSender? get sender

This property will only be present on ports passed to $(ref:runtime.onConnect onConnect) / $(ref:runtime.onConnectExternal onConnectExternal) / $(ref:runtime.onConnectExternal onConnectNative) listeners.

Implementation

MessageSender? get sender => _wrapped.sender?.let(MessageSender.fromJS);
set sender (MessageSender? v)

Implementation

set sender(MessageSender? v) {
  _wrapped.sender = v?.toJS;
}