CaptureMode constructor Null safety

CaptureMode()