createInstanceByDescriptor method

dynamic createInstanceByDescriptor (TypeDescriptor descriptor, List args)

Creates an instance of an object type specified by type descriptor.

  • descriptor a type descriptor that points to an object type
  • args arguments for the object constructor. Returns the created object instance.

See createInstance See TypeDescriptor