toMap method
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,
};
}