RegisterUserPerms constructor
const
RegisterUserPerms({
- bool sell = false,
- bool cancel = false,
- bool articles = false,
- bool layout = false,
- bool reports = false,
- bool takeover = false,
- bool drawer = false,
- bool discount = false,
- bool tipAssign = false,
- bool? stockView,
- bool stockCosts = false,
- bool stockMove = false,
- bool stockLoss = false,
- bool stocktakeCount = false,
- bool stocktakeClose = false,
- bool stockLocation = false,
- RegisterScope cancelScope = RegisterScope.none,
- RegisterScope receiptsScope = RegisterScope.all,
- 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 {},
});