createFromProperties static method
Implementation
static ClientConfig createFromProperties(Map<String, dynamic> properties,
[String? prefix]) {
if (prefix == null) {
return createFromProperties(properties, "");
} else {
return create()
.setEndpoint(properties["${prefix}endpoint"])
.setEnvironment(properties["${prefix}environment"])
.setApplication(properties["${prefix}application"])
.setAPIKey(properties["${prefix}apikey"])
.setContextDataDeserializer(DefaultContextDataDeserializer());
}
}