Validity constructor

Validity({
  1. required ValidityPeriodType type,
  2. required int value,
})

Implementation

Validity({
  required this.type,
  required this.value,
});