LanguagePackStringValuePluralized class final

A language pack string which has different forms based on the number of some object it mentions. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more information

Inheritance

Constructors

LanguagePackStringValuePluralized({required String zeroValue, required String oneValue, required String twoValue, required String fewValue, required String manyValue, required String otherValue, dynamic extra, int? clientId})
A language pack string which has different forms based on the number of some object it mentions. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more information
const
LanguagePackStringValuePluralized.fromJson(Map<String, dynamic> json)
Parses a LanguagePackStringValuePluralized from TDLib JSON.
factory

Properties

clientId → int?
Identifier of the TDLib client that sent this object.
final
extra → dynamic
"@extra" of the request this object answers.
final
fewValue → String
Value for few objects
final
hashCode → int
The hash code for this object.
no setterinherited
manyValue → String
Value for many objects
final
oneValue → String
Value for one object
final
otherValue → String
Default value
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
twoValue → String
Value for two objects
final
zeroValue → String
Value for zero objects
final

Methods

copyWith({String? zeroValue, String? oneValue, String? twoValue, String? fewValue, String? manyValue, String? otherValue, dynamic extra, int? clientId}) → LanguagePackStringValuePluralized
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
override
getConstructor() → String
TDLib type name, e.g. updateNewMessage.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this object to TDLib JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
TDLib type name.