method Struct.prototype.toPrimitiveimport { Struct } from "https://deno.land/x/polkadot@0.2.11/types-codec/native/Struct.ts"; toPrimitive(): Record<string, AnyJson>ReturnsRecord<string, AnyJson>