fromValue static method

ConfigParams fromValue(
  1. dynamic value
)
override

Creates a new ConfigParams object filled with key-value pairs from specified object.

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

Implementation

static ConfigParams fromValue(value) {
  var map = RecursiveObjectReader.getProperties(value);
  return ConfigParams(map);
}