LyNullableStringContains class

Validation that a string contains in another string.

Example:

final validator = LyNullableStringContains('Value not contains', 'Hello');
final result = validation('abc');
print(result); // Value not contains

Constructors

LyNullableStringContains(String message, dynamic seed)
Validation that a string contains in another string.

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seed → dynamic
Seed that is used to determine if the value contains the seed or not.
final

Methods

call(String? value) String?
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 &(LyBaseValidator<String?> other) → LyBaseValidator<String?>
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator |(LyBaseValidator<String?> other) → LyBaseValidator<String?>
inherited