LowerBoundValidator class

Validator which validates that a number input is greater or equal than lowerBound.

Annotations
  • @Directive(selector: '[lowerBound]', providers: [ExistingProvider.forToken(NG_VALIDATORS, LowerBoundValidator)], visibility: Visibility.all)

Constructors

LowerBoundValidator(@Optional() NumberFormat? format)

Properties

hashCode int
The hash code for this object.
no setterinherited
lowerBound num?
Smallest allowed value.
getter/setter pair
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
validate(AbstractControl control) Map<String, dynamic>?
Returns a map of the errors associated with this control.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

numberIsTooSmallMsg(String lowerBound) String