InvalidTranslationTextException class
Exception thrown when translation text is invalid or empty.
- Inheritance
-
- Object
- TranslationException
- InvalidTranslationTextException
Constructors
- InvalidTranslationTextException(String text, String reason)
-
Creates an InvalidTranslationTextException for the given
text
andreason
.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
The error message describing what went wrong.
finalinherited
- reason → String
-
The reason why the text is invalid.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
The invalid text that was provided for translation.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited