code: def from_value(value):
          
          map = value if isinstance(value, dict) else RecursiveObjectReader.get_properties(value)
          return Parameters(map)
docs: Creates a new Parameters object filled with key-value pairs from specified object.
  
          :param value: an object with key-value pairs used to initialize a new Parameters.
  
          :return: a new Parameters object.