method Enum.withimport { Enum } from "https://dotland.deno.dev/x/polkadot@0.2.23/types-codec/mod.ts"; with(Types: Record<string, string | CodecClass> | Record<string, number> | string[]): EnumCodecClass<Enum>ParametersTypes: Record<string, string | CodecClass> | Record<string, number> | string[]ReturnsEnumCodecClass<Enum>