toMap method
Converts this VAPConfigs instance to a map.
This method is primarily used for debugging and serialization purposes. The returned map contains all configuration properties with their current values.
Returns a map with string keys and dynamic values representing the configuration.
Implementation
Map<String, dynamic> toMap() {
return {
'width': width,
'height': height,
'fps': fps,
'totalFrames': totalFrames,
'isMix': isMix,
'orien': orien,
'videoHeight': videoHeight,
'videoWidth': videoWidth,
'alphaPointRect': alphaPointRect,
'rgbPointRect': rgbPointRect,
'version': version,
};
}