LocalizedMessageResponseComputeBeta class
Provides a localized error message that is safe to return to the user which can be attached to an RPC error.
Constructors
-
LocalizedMessageResponseComputeBeta({required Input<
String> locale, required Input<String> message}) -
Creates a new LocalizedMessageResponseComputeBeta.
localeThe locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"messageThe localized error message in the above locale.const -
LocalizedMessageResponseComputeBeta.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
locale
→ Input<
String> -
The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
final
-
message
→ Input<
String> -
The localized error message in the above locale.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited