GreaterThan constructor

GreaterThan(
  1. num number
)

Creates an instance of the GreaterThan validation rule.

Parameters:

  • number: The number that the value should be greater than.

Implementation

GreaterThan(this.number) : super.withKey(key);