PTAlertTranslation constructor

PTAlertTranslation({
  1. required String language,
  2. required String text,
})

Create a PTAlertTranslation.

API users do not typically create instances of this class directly.

Parameters

  • language: (String) Language tag, verbatim from the feed.
  • text: (String) Translation text.

Implementation

PTAlertTranslation({required this.language, required this.text});