Integer constructor

Integer({
  1. String? message,
})

Creates a new instance of the Integer validation rule.

  • message: A custom validation message (optional) to be displayed when the validation fails.

Implementation

Integer({String? message}) : super(message);