FileSize constructor

FileSize({
  1. int megaBytes = 5,
  2. int kiloBytes = 0,
})

Implementation

FileSize({
  this.megaBytes = 5,
  this.kiloBytes = 0,
}) : assert(megaBytes >= 0 && kiloBytes >= 0 && (kiloBytes > 0 || megaBytes > 0));