PoliceLicensePlate constructor

PoliceLicensePlate({
  1. required String series,
  2. required int number,
  3. required int region,
})

Implementation

PoliceLicensePlate({
  required String series,
  required int number,
  required int region,
})  : assert(isValidSeries(series)),
      assert(isValidNumber(number)),
      assert(isValidRegion(region)),
      super(series: series, number: number, region: region);