toString method

  1. @override
String toString()
override

A string representation of this object.

Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.

Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.

Implementation

@override
String toString() {
  return 'PLG{pluginId: ${pluginId}, NAME: ${NAME}, VERSION: ${VERSION}, DESCRIPTION: ${DESCRIPTION}, TAGLINE: ${TAGLINE}, pluginType: ${pluginType}, publisherName: ${publisherName}, publisherHandle: ${publisherHandle}, publisherUrl: ${publisherUrl}, supportUrl: ${supportUrl}, TAGS: ${TAGS}, FEATURES: ${FEATURES}, screenshotUrls: ${screenshotUrls}, bannerUrl: ${bannerUrl}, abiVersion: ${abiVersion}, wasmHash: ${wasmHash}, wasmSize: ${wasmSize}, wasmCid: ${wasmCid}, encryptedWasmHash: ${encryptedWasmHash}, encryptedWasmSize: ${encryptedWasmSize}, entryFunctions: ${entryFunctions}, requiredSchemas: ${requiredSchemas}, DEPENDENCIES: ${DEPENDENCIES}, CAPABILITIES: ${CAPABILITIES}, providerPeerId: ${providerPeerId}, providerEpmCid: ${providerEpmCid}, ENCRYPTED: ${ENCRYPTED}, requiredScope: ${requiredScope}, keyId: ${keyId}, maxGrantTimeoutMs: ${maxGrantTimeoutMs}, minPermissions: ${minPermissions}, createdAt: ${createdAt}, updatedAt: ${updatedAt}, documentationUrl: ${documentationUrl}, changelogUrl: ${changelogUrl}, iconUrl: ${iconUrl}, LICENSE: ${LICENSE}, paymentModel: ${paymentModel}, priceUsdCents: ${priceUsdCents}, subscriptionPeriodDays: ${subscriptionPeriodDays}, acceptedPaymentMethods: ${acceptedPaymentMethods}, listingStatus: ${listingStatus}, SIGNATURE: ${SIGNATURE}, invokeSurfaces: ${invokeSurfaces}, METHODS: ${METHODS}, hostCapabilities: ${hostCapabilities}, TIMERS: ${TIMERS}, PROTOCOLS: ${PROTOCOLS}, schemasUsed: ${schemasUsed}, buildArtifacts: ${buildArtifacts}, runtimeTargets: ${runtimeTargets}, allowedXpubs: ${allowedXpubs}, flowNodes: ${flowNodes}, flowEdges: ${flowEdges}, flowTriggers: ${flowTriggers}, flowTriggerBindings: ${flowTriggerBindings}, primaryCategory: ${primaryCategory}, CATEGORIES: ${CATEGORIES}}';
}