RegisterUserPerms constructor

const RegisterUserPerms({
  1. bool sell = false,
  2. bool cancel = false,
  3. bool articles = false,
  4. bool layout = false,
  5. bool reports = false,
  6. bool takeover = false,
  7. bool drawer = false,
  8. bool discount = false,
  9. bool tipAssign = false,
  10. bool? stockView,
  11. bool stockCosts = false,
  12. bool stockMove = false,
  13. bool stockLoss = false,
  14. bool stocktakeCount = false,
  15. bool stocktakeClose = false,
  16. bool stockLocation = false,
  17. RegisterScope cancelScope = RegisterScope.none,
  18. RegisterScope receiptsScope = RegisterScope.all,
  19. Map<String, bool> other = const {},
})

Implementation

const RegisterUserPerms({
  this.sell = false,
  this.cancel = false,
  this.articles = false,
  this.layout = false,
  this.reports = false,
  this.takeover = false,
  this.drawer = false,
  this.discount = false,
  this.tipAssign = false,
  this.stockView,
  this.stockCosts = false,
  this.stockMove = false,
  this.stockLoss = false,
  this.stocktakeCount = false,
  this.stocktakeClose = false,
  this.stockLocation = false,
  this.cancelScope = RegisterScope.none,
  this.receiptsScope = RegisterScope.all,
  this.other = const {},
});