encode static method

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

Implementation

static Map<String, dynamic> encode(DocumentShareOptions value) {
	Map<String, dynamic> entityAsMap = {
		"requestedPermissions" : RequestedPermission.encode(value.requestedPermissions),
		"shareEncryptionKey" : ShareMetadataBehaviour.encode(value.shareEncryptionKey),
		"shareMessageId" : ShareMetadataBehaviour.encode(value.shareMessageId),
		"shareSecretIds" : SecretIdShareOptions.encode(value.shareSecretIds)
	};
	return entityAsMap;
}