Poq.SDK.Node

Home > @poq/transform > AbstractConverter > toPlain

AbstractConverter.toPlain() method

Method transforms instance of class/type into plain representation.

Signature:

abstract toPlain(transformer: typeof Transformer, item: S, options?: TransformOptions): P;

Parameters

Parameter Type Description
transformer typeof Transformer Reference to transformer static class
item S Instance of class/type to be transformed into plain representation.
options TransformOptions (Optional)

Returns:

P

Return plain representation of class/type instance.