encode method
Implementation
Object encode() {
return <Object?>[
videoProfile,
videoCropMode,
frontCamera,
frameRate,
minFrameRate,
bitrate,
minBitrate,
degradationPrefer,
width,
height,
cameraType,
mirrorMode,
orientationMode,
streamType,
];
}