notNull static method

FormeValidator notNull({
  1. String errorText = '',
})

when valid

  1. value is not null

Implementation

static FormeValidator notNull({String errorText = ''}) {
  return (f, dynamic v) => v == null ? errorText : null;
}