encode static method

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

Implementation

static Map<String, dynamic> encode(DelegateShareOptions value) {
	Map<String, dynamic> entityAsMap = {
		"shareSecretIds" : value.shareSecretIds.map((x0) => x0).toList(),
		"shareEncryptionKeys" : value.shareEncryptionKeys.map((x0) => x0).toList(),
		"shareOwningEntityIds" : value.shareOwningEntityIds.map((x0) => x0).toList(),
		"requestedPermissions" : RequestedPermission.encode(value.requestedPermissions)
	};
	return entityAsMap;
}