IValidator constructor

const IValidator({
  1. bool nullable = false,
  2. bool optional = false,
})

Implementation

const IValidator({bool nullable = false, bool optional = false})
    : isNullable = nullable,
      isOptional = optional;