onVideoDeviceStateChanged property
        
        void Function(String deviceId, MediaDeviceType deviceType, MediaDeviceStateType deviceState)?
        onVideoDeviceStateChanged
        
      
final
      Occurs when the video device state changes.
This callback reports the change of system video devices, such as being unplugged or removed. On a Windows device with an external camera for video capturing, the video disables once the external camera is unplugged. This callback is for Windows and macOS only.
- deviceIdThe device ID.
- deviceTypeMedia device types. See MediaDeviceType.
- deviceStateMedia device states. See MediaDeviceStateType.
Implementation
final void Function(String deviceId, MediaDeviceType deviceType,
    MediaDeviceStateType deviceState)? onVideoDeviceStateChanged;