SupportedLanguage
public struct SupportedLanguage
The struct representing a supported language.
-
The string representing the language. E.g. “en”.
Declaration
Swift
public let lang: String
-
The label to be displayed for the language. E.g. “English”.
Declaration
Swift
public let label: String
-
Constructor used to create an instance of SupportedLanguage.
Declaration
Swift
public init(lang: String, label: String? = nil)