fromValue static method

ContainerConfig fromValue(
  1. dynamic value
)

Creates a new ContainerConfig object filled with key-value pairs from specified object. The value is converted into ConfigParams object which is used to create the object.

  • value an object with key-value pairs used to initialize a new ContainerConfig. Returns a new ContainerConfig object.

See fromConfig

Implementation

static ContainerConfig fromValue(value) {
  var config = ConfigParams.fromValue(value);
  return ContainerConfig.fromConfig(config);
}