import { createModel } from "https://deno.land/x/cotton@v0.7.5/src/utils/models.ts";
Transform single plain JavaScript object to Model class.
Parameters
modelClass: { new (): T; }
The model class which all the data will be transformed into
import { createModel } from "https://deno.land/x/cotton@v0.7.5/src/utils/models.ts";
Transform single plain JavaScript object to Model class.
The model class which all the data will be transformed into