method Struct.withimport { Struct } from "https://dotland.deno.dev/x/polkadot@0.2.23/types-codec/mod.ts"; with<S extends TypesDef>(Types: S, jsonMap?: Map<string, string>): CodecClass<Struct<S>>Type ParametersS extends TypesDefParametersTypes: SoptionaljsonMap: Map<string, string>ReturnsCodecClass<Struct<S>>