Default validation messages (Laravel lang/en/validation.php parity)
with an Indonesian translation as the second bundled locale.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
resolve(
String key, {required String locale, required String attribute, Map< String, Object?> parameters = const {}, Map<String, String> overrides = const {}, int? laravelCompat}) → String -
Resolves
keyforlocale(falling back toen, then the key itself) and substitutes:attributeplus every entry ofparameters.
Constants
-
legacyEnglish
→ const Map<
String, String> -
The English messages of Laravel 8 and 9 (
The :attribute must be a string.) where they differ from 10 to 13, used underCOMPAT_LARAVEL_VERSION8 or 9. Source: laravel/laravel 9.xlang/en/validation.php(8.xresources/lang/en/validation.phphas the same text for every rule it knows). -
translations
→ const Map<
String, Map< String, String> > -
The messages by locale, then by rule name (
required,min.string...), with:attribute,:minand other placeholders.