Required constructor

Required()

Creates an instance of the Required validation rule.

Implementation

Required() : super.withKey(key);