Home > @magiclane/maps-sdk > PTAlertTranslation > (constructor)
PTAlertTranslation.(constructor)
Create a PTAlertTranslation.
API users do not typically create instances of this class directly.
Signature:
constructor(input: {
language: string;
text: string;
});Parameters
Parameter | Type | Description |
|---|---|---|
{ language, text } | (not declared) | |
input | { language: string; text: string; } |
input properties:
- language: string
- text: string