LocalizedText constructor
- String text,
- Locale? locale
Creates a new instance.
textText value.localeLocale of text, in most cases contains only language code. If locale is not supported by the platform,nullis returned.
Implementation
LocalizedText(this.text, this.locale);