encode static method
Implementation
static Map<String, dynamic> encode(Permission value) {
Map<String, dynamic> entityAsMap = {
"grants" : value.grants.map((x0) => PermissionItem.encode(x0)).toList(),
"revokes" : value.revokes.map((x0) => PermissionItem.encode(x0)).toList()
};
return entityAsMap;
}