Home > @magiclane/maps-sdk > PTTranslation > (constructor)
PTTranslation.(constructor)
Constructs a new instance of the PTTranslation class
Signature:
constructor(text: string, language: string);Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
text |
string | |
|
language |
string |