isValid method

  1. @override
bool isValid(
  1. dynamic value
)
override

Implementation

@override
bool isValid(value) {
  if (value is! num) {
    return false;
  }
  return true;
}