method types.Struct.prototype.toPrimitiveimport { types } from "https://dotland.deno.dev/x/polkadot@0.2.23/mod.ts"; const { Struct } = types; toPrimitive(): Record<string, AnyJson>ReturnsRecord<string, AnyJson>