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() => 'CaptureEvent[anonymousId=$anonymousId, channel=$channel, clip=$clip, currency=$currency, distinctId=$distinctId, environment=$environment, error=$error, event=$event, groupId=$groupId, groupType=$groupType, kind=$kind, level=$level, library_=$library_, libraryVersion=$libraryVersion, log=$log, messageId=$messageId, metric=$metric, path=$path, personId=$personId, product=$product, productId=$productId, properties=$properties, quantity=$quantity, refCode=$refCode, referrer=$referrer, release=$release, resource=$resource, revenue=$revenue, service=$service, sessionId=$sessionId, signupWeek=$signupWeek, site=$site, span=$span, spanId=$spanId, timestamp=$timestamp, traceId=$traceId, type=$type, url=$url, utm=$utm]';