toMap method
Implementation
Map<String, dynamic>? toMap() {
return {
'items': this.items.map((_) => _.toMap()).toList(),
'allowedActions': this.allowedActions.map((_) => _.toMap()).toList(),
'restrictedActions':
this.restrictedActions.map((_) => _.toMap()).toList(),
}.prune();
}