encode static method

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

Implementation

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