method Drash.Server.prototype.addResourceimport { Drash } from "https://dotland.deno.dev/x/drash@v2.7.0/tests/deps.ts"; const { Server } = Drash; addResource(resourceClass: Drash.Resource): voidAdd the given resource to this server's list of resources. ParametersresourceClass: Drash.Resource The resource class to instantiate and store in the resources map. Returnsvoid