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