toTransferable method
Implementation
Map<String, Object?> toTransferable() => {
'sent': sent,
'recv': recv,
'dropped': dropped,
'closed': closed,
'trySendOk': trySendOk,
'trySendFail': trySendFail,
'tryRecvOk': tryRecvOk,
'tryRecvEmpty': tryRecvEmpty,
if (sendP50 != null) 'sendP50': sendP50,
if (sendP95 != null) 'sendP95': sendP95,
if (sendP99 != null) 'sendP99': sendP99,
if (recvP50 != null) 'recvP50': recvP50,
if (recvP95 != null) 'recvP95': recvP95,
if (recvP99 != null) 'recvP99': recvP99,
'recvFirstNs': recvFirstNs,
'recvLastNs': recvLastNs,
'sendFirstNs': sendFirstNs,
'sendLastNs': sendLastNs,
};