PRuleNumeric constructor

PRuleNumeric(
  1. String? _value, {
  2. String separator = ".",
  3. String message = "Invalid number",
})

Check if the value is a valid number value is the value to check separator is the separator for the decimal message is the error message

Implementation

PRuleNumeric(this._value,
    {this.separator = ".", this.message = "Invalid number"});