ContributorsTranslation class

ContributorsTranslation class is used for wrapping the translations in one class. Here are all the needed arguments to create a new translation. Also we provide pre-made ones:

Constructors

ContributorsTranslation({@required String languageCode, @required String contributions, @required String followers, @required String following, @required String publicRepos, @required String publicGists, @required bool isRTL, @required String oopsSomethingWentWrong})
This is ContributorsTranslation's default contructor Everything is required
const
ContributorsTranslation.ar()
Arabic language translation
factory
ContributorsTranslation.cs()
Czech language translation
factory
ContributorsTranslation.en()
English language translation
factory

Properties

contributions String
contributions is the string for the word Contributions.
final
followers String
followers is the string for the word Followers.
final
following String
following is the string for the word Following.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
isRTL bool
isRTL is the bool that states whether the language is RTL or LTR.
final
languageCode String
languageCode is the string that identifies each language. It is a two-letter name, e.g. en for English, ar for Arabic.
final
oopsSomethingWentWrong String
oopsSomethingWentWrong is the string Oops! Something Went Wrong!.
final
publicGists String
publicGists is the string for the word Public Gists.
final
publicRepos String
publicRepos is the string for the word Public Repos.
final
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
A string representation of this object. [...]
inherited

Operators

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