StringStartsWithValidation class

Inheritance

Constructors

StringStartsWithValidation(String string, {String? message, String? messageFn()?})

Properties

customMessage ↔ String?
getter/setter pair
customMessageFn ↔ String? Function()?
getter/setter pair
errors ↔ Map<String, List<String>>?
Holds the errors of the validation in case of schema validation.
getter/setter pairinherited-setteroverride-getter
fieldName ↔ String?
Holds the field name of the validated value.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
message ↔ String
Holds the error message of the validation in case of single value validation.
getter/setter pairinherited-setteroverride-getter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
string ↔ String
getter/setter pair

Methods

call(String? fieldName, Object? value) → bool
Validates the given value.
override
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