encode static method
Implementation
static Map<String, dynamic> encode(Role value) {
Map<String, dynamic> entityAsMap = {
"id" : value.id,
"rev" : value.rev,
"deletionDate" : value.deletionDate,
"name" : value.name,
"permissions" : value.permissions.map((x0) => x0).toList()
};
return entityAsMap;
}