method typesCodec.Text.prototype.toJSONimport { typesCodec } from "https://dotland.deno.dev/x/polkadot@0.2.23/mod.ts"; const { Text } = typesCodec; toJSON(): stringReturnsstring