encode static method

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

Implementation

static Map<String, dynamic> encode(SecureDelegation value) {
	Map<String, dynamic> entityAsMap = {
		"delegator" : value.delegator,
		"delegate" : value.delegate,
		"secretIds" : value.secretIds.map((x0) => x0).toList(),
		"encryptionKeys" : value.encryptionKeys.map((x0) => x0).toList(),
		"owningEntityIds" : value.owningEntityIds.map((x0) => x0).toList(),
		"parentDelegations" : value.parentDelegations.map((x0) => x0).toList(),
		"exchangeDataId" : value.exchangeDataId,
		"permissions" : AccessLevel.encode(value.permissions)
	};
	return entityAsMap;
}