isDouble method

IsDouble isDouble()

Add IsDouble validation rule.

Implementation

IsDouble isDouble() {
  return IsDouble()..parent = this;
}