isClosed property

bool get isClosed

检查通道是否已关闭 Check if the channel is closed

Implementation

bool get isClosed => _receivePort == null;