Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:isolate
  3. SendPort class
SendPort
description

SendPort classabstractinterface

Sends messages to itsReceivePorts.

SendPorts are created fromReceivePorts. Any message sent throughaSendPort is delivered to its correspondingReceivePort. There might bemanySendPorts for the sameReceivePort.

SendPorts can be transmitted to other isolates, and they preserve equalitywhen sent.

Implemented types
Available extensions

Properties

hashCodeint
A hash code for this send port that is consistent with the == operator.
no setteroverride
nativePortint

Available onSendPort, provided by theNativePort extension

The native port of thisSendPort.
no setter
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(Object?message)→ void
Sends an asynchronousmessage through this send port, to itscorrespondingReceivePort.
toString()String
A string representation of this object.
inherited

Operators

operator ==(Objectother)bool
Tests whetherother is aSendPort pointing to the sameReceivePort as this one.
override
  1. Dart
  2. dart:isolate
  3. SendPort class
dart:isolate library

[8]ページ先頭

©2009-2025 Movatter.jp