8000 Fix typo in deprecated annotations (#774) · samhblee/flutter-webrtc@aab3cb0 · GitHub
[go: up one dir, main page]

8000 Skip to content

Commit aab3cb0

Browse files
authored
Fix typo in deprecated annotations (flutter-webrtc#774)
Change "facrory" to "factory"
1 parent 214bd45 commit aab3cb0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/src/media_devices.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ import '../flutter_webrtc.dart';
22

33
class MediaDevices {
44
@Deprecated(
5-
'Use the navigator.mediaDevices.getUserMedia(Map<String, dynamic>) provide from the facrory instead')
5+
'Use the navigator.mediaDevices.getUserMedia(Map<String, dynamic>) provide from the factory instead')
66
static Future<MediaStream> getUserMedia(
77
Map<String, dynamic> mediaConstraints) async {
88
return navigator.mediaDevices.getUserMedia(mediaConstraints);
99
}
1010

1111
@Deprecated(
12-
'Use the navigator.mediaDevices.getDisplayMedia(Map<String, dynamic>) provide from the facrory instead')
12+
'Use the navigator.mediaDevices.getDisplayMedia(Map<String, dynamic>) provide from the factory instead')
1313
static Future<MediaStream> getDisplayMedia(
1414
Map<String, dynamic> mediaConstraints) async {
1515
return navigator.mediaDevices.getDisplayMedia(mediaConstraints);
1616
}
1717

1818
@Deprecated(
19-
'Use the navigator.mediaDevices.getSources() provide from the facrory instead')
19+
'Use the navigator.mediaDevices.getSources() provide from the factory instead')
2020
static Future<List<dynamic>> getSources() {
2121
return navigator.mediaDevices.getSources();
2222
}

0 commit comments

Comments
 (0)
0