encode static method

Map<String, dynamic> encode(
  1. Permission value
)

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;
}