LocalizedText class final
Localized variant of a text in a particular language.
- Inheritance
-
- Object
- ProtoMessage
- LocalizedText
Constructors
- LocalizedText({String text = '', String languageCode = ''})
-
LocalizedText.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- languageCode → String
-
The text's BCP-47 language code, such as "en-US" or "sr-Latn".
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
Localized string in the language corresponding to `language_code' below.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String