toMap method
Converts instance to a map.
Implementation
Map<String, dynamic> toMap() {
return {
"afterScreenUpdates": afterScreenUpdates,
"compressFormat": compressFormat.toNativeValue(),
"quality": quality,
"rect": rect?.toMap(),
"snapshotWidth": snapshotWidth,
};
}