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