Declaration.fromclass method

Hydrates an instance of Declaration from given data.

Declarationfromhint, encoded-declarationdeclaration

nametypedescription

hint

String

Conversion hint. See convert.

encoded-declaration

Data representation of a Declaration instance.

declaration

Declaration

Declaration instance corresponding to data.