method Enum.prototype.toNumberimport { Enum } from "https://deno.land/x/polkadot@0.2.35/types/codec/index.ts"; toNumber(): numberReturnsnumber