fromConfig static method

ContextInfo fromConfig(
  1. ConfigParams config
)

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;
}