toJson method

Map<String, dynamic> toJson()

Serialises the class data to a JSON-compatible format.

Implementation

Map<String, dynamic> toJson() {
  return {
    'shouldShowDataProcessing': shouldShowDataProcessing,
    'shouldShowAppSettings': shouldShowAppSettings,
    'shouldShowImprint': shouldShowImprint,
  };
}