bool operator ==(
other
)

Tests whether other is a SendPort pointing to the same ReceivePort as this one.

Source

/**
 * Tests whether [other] is a [SendPort] pointing to the same
 * [ReceivePort] as this one.
 */
bool operator==(var other);