LocalizedText constructor
const
LocalizedText({})
Implementation
const factory LocalizedText({
/// Default text value (used as fallback)
required String defaultValue,
/// Map of locale codes to translated values
@Default({}) Map<String, String> translations,
/// Whether to use only the default value for all languages
@Default(false) bool useDefaultOnly,
}) = _LocalizedText;