ClassPropertyValidator<T extends Object> constructor

const ClassPropertyValidator<T extends Object>({
  1. String? name,
  2. T? defaultVal,
  3. bool optional = false,
})

Implementation

const ClassPropertyValidator({
  this.name,
  this.defaultVal,
  this.optional = false,
});