func (c DatafileProjectConfig) GetEnvironmentKey() string {
	return c.environmentKey
}
GetEnvironmentKey returns current environment of the datafile.
package datafileprojectconfig
import (
	"errors"
	"fmt"
	"github.com/optimizely/go-sdk/pkg/config/datafileprojectconfig/mappers"
	"github.com/optimizely/go-sdk/pkg/entities"
	"github.com/optimizely/go-sdk/pkg/logging"
)
var datafileVersions = map[string]struct{}{
	"4": {},
}
type DatafileProjectConfig struct {
	datafile             string
	accountID            string
	projectID            string
	revision             string
	experimentKeyToIDMap map[string]string
	audienceMap          map[string]entities.Audience
	attributeMap         map[string]entities.Attribute
	eventMap             map[string]entities.Event
	attributeKeyToIDMap  map[string]string
	experimentMap        map[string]entities.Experiment
	featureMap           map[string]entities.Feature
	groupMap             map[string]entities.Group
	rollouts             []entities.Rollout
	rolloutMap           map[string]entities.Rollout
	anonymizeIP          bool
	botFiltering         bool
	sendFlagDecisions    bool
	sdkKey               string
	environmentKey       string
	flagVariationsMap map[string][]entities.Variation
}
func (c DatafileProjectConfig) GetDatafile() string {
	return c.datafile
}
func (c DatafileProjectConfig) GetProjectID() string {
	return c.projectID
}
func (c DatafileProjectConfig) GetRevision() string {
	return c.revision
}
func (c DatafileProjectConfig) GetAccountID() string {
	return c.accountID
}
func (c DatafileProjectConfig) GetAnonymizeIP() bool {
	return c.anonymizeIP
}
func (c DatafileProjectConfig) GetAttributes() (attributeList []entities.Attribute) {
	for _, attribute := range c.attributeMap {
		attributeList = append(attributeList, attribute)
	}
	return attributeList
}
func (c DatafileProjectConfig) GetAttributeID(key string) string {
	return c.attributeKeyToIDMap[key]
}
func (c DatafileProjectConfig) GetBotFiltering() bool {
	return c.botFiltering
}
func (c DatafileProjectConfig) GetSdkKey() string {
	return c.sdkKey
}