MastodonPreferences constructor

const MastodonPreferences({
  1. required String postingDefaultVisibility,
  2. required bool postingDefaultSensitive,
  3. String? postingDefaultLanguage,
  4. String? postingDefaultQuotePolicy,
  5. required String readingExpandMedia,
  6. required bool readingExpandSpoilers,
})

Creates a MastodonPreferences with the given fields.

Implementation

const MastodonPreferences({
  required this.postingDefaultVisibility,
  required this.postingDefaultSensitive,
  this.postingDefaultLanguage,
  this.postingDefaultQuotePolicy,
  required this.readingExpandMedia,
  required this.readingExpandSpoilers,
});