TypeDescriptor constructor

TypeDescriptor(
  1. String name,
  2. String? library
)

Creates a new instance of the type descriptor and sets its values.

  • name a name of the object type.
  • library a library or module where this object type is implemented.

Implementation

TypeDescriptor(String name, String? library)
    : _name = name,
      _library = library;