toMap method

Map<String, dynamic> toMap()

Converts the HVVideoRecordingConfig object to a map.

Returns a map containing the video recording configuration.

Implementation

Map<String, dynamic> toMap() {
  return {
    HyperSnapSDKConstants.noOfFrames: noOfFrames,
    HyperSnapSDKConstants.fps: fps,
    HyperSnapSDKConstants.shouldRecordVideo: shouldRecordVideo,
    HyperSnapSDKConstants.bitRateM: bitRateM,
  };
}