AccountLevelModel constructor

const AccountLevelModel({
  1. int id = 0,
  2. required String name,
  3. bool status = true,
  4. String? description,
  5. int? upId,
  6. int bits = 1,
})

Implementation

const AccountLevelModel({
  super.id = 0,
  required super.name,
  super.status,
  this.description,
  this.upId,
  int bits = 1,
})  : assert(bits > 0 && bits <= 3),
      count = bits * 10;