MediaRecorder constructor Null safety
- MediaStream stream,
- [Map? options]
Implementation
factory MediaRecorder(MediaStream stream, [Map? options]) {
if (options != null) {
var options_1 = convertDartToNative_Dictionary(options);
return MediaRecorder._create_1(stream, options_1);
}
return MediaRecorder._create_2(stream);
}