MastodonTranslation constructor

const MastodonTranslation({
  1. required String content,
  2. required String spoilerText,
  3. required String language,
  4. required String detectedSourceLanguage,
  5. required String provider,
  6. required List<MastodonTranslationAttachment> mediaAttachments,
  7. MastodonTranslationPoll? poll,
})

Implementation

const MastodonTranslation({
  required this.content,
  required this.spoilerText,
  required this.language,
  required this.detectedSourceLanguage,
  required this.provider,
  required this.mediaAttachments,
  this.poll,
});