import { transformer } from "https://deno.land/x/leaves@v0.1.5/mod.ts";
const { TransformClassToPlain } = transformer;
Transform the object from class to plain object and return only with the exposed properties.
Parameters
optional
params: ClassTransformOptions