required static method

Rule required()

required: present and not empty (not null, '', [] or {}).

Implementation

static Rule required() => const RequiredRule();