8000 Merge pull request #316 from maanas/add_label_read_only_rtc_data_channel · obshksw/flutter-webrtc@3751bcf · GitHub
[go: up one dir, main page]

Skip to content

Commit 3751bcf

Browse files
authored
Merge pull request flutter-webrtc#316 from maanas/add_label_read_only_rtc_data_channel
Added label as read only property
2 parents f39894a + 9cd4e96 commit 3751bcf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/rtc_data_channel.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ class RTCDataChannel {
8686
/// Get current state.
8787
RTCDataChannelState get state => _state;
8888

89+
/// Get label.
90+
String get label => _label;
91+
8992
/// Event handler for datachannel state changes.
9093
/// Assign this property to listen for state changes.
9194
/// Will be passed one argument, [state], which is an [RTCDataChannelState].

0 commit comments

Comments
 (0)
0