encode static method

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

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