MockCapturePromptResultConfiguration constructor

MockCapturePromptResultConfiguration({
  1. MockCapturePromptResult? getUserMedia,
  2. MockCapturePromptResult? getDisplayMedia,
})

Implementation

factory MockCapturePromptResultConfiguration(
        {MockCapturePromptResult? getUserMedia,
        MockCapturePromptResult? getDisplayMedia}) =>
    MockCapturePromptResultConfiguration._(
        getUserMedia: getUserMedia?.value ?? undefined,
        getDisplayMedia: getDisplayMedia?.value ?? undefined);