toJson method
Serialises the class data to a JSON-compatible format.
Implementation
Map<String, dynamic> toJson() {
return {
'shouldShowDataProcessing': shouldShowDataProcessing,
'shouldShowAppSettings': shouldShowAppSettings,
'shouldShowImprint': shouldShowImprint,
};
}