IosSound constructor Null safety

const IosSound(
  1. int value
)

Implementation

const IosSound(int value)
    : assert(value >= 1000),
      assert(value <= 2000),
      value = value;