fromConfig static method
Creates a new ContextInfo and sets its configuration parameters.
- config configuration parameters for the new ContextInfo. Return a newly created ContextInfo
Implementation
static ContextInfo fromConfig(ConfigParams config) {
var result = ContextInfo();
result.configure(config);
return result;
}