AccountModel constructor

const AccountModel({
  1. int id = 0,
  2. required String name,
  3. bool status = true,
  4. String? description,
  5. required int branchId,
  6. required int typeId,
  7. required int levelId,
  8. int? upId,
  9. int? groupId,
})

Implementation

const AccountModel({
  super.id = 0,
  required super.name,
  super.status,
  this.description,
  required this.branchId,
  required this.typeId,
  required this.levelId,
  this.upId,
  this.groupId,
})  : sessionId = 0,
      userId = 0;