toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'streamId': streamId,
    'ordered': ordered,
    'maxPacketLifeTime': maxPacketLifeTime,
    'maxRetransmits': maxRetransmits,
    'priority': priority?.value,
    'label': label,
    'protocol': protocol,
  };
}