Language class

Convenience class for language-related methods

Constructors

Language()

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited

Static Methods

camelCase(String s) → String
Returns the string s as camel case (camelCase)
caseValue(String value, CaseType type) → String
Recases the value string based on the type CaseType
constantCase(String s) → String
Returns the string s as constant case (CONSTANT_CASE)
currencySymbol(String currency) → String
Returns the currency symbol for the given currency e.g. 'NOK', 'EUR' or 'USD'
pascalCase(String s) → String
Returns the string s as pascal case (PascalCase)
sentenceCase(String s) → String
Returns the string s as sentece case (Sentence case)
titleCase(String s) → String
Returns the string s as title case (Title Case)