IDSHelper class

A helper class that provides utility methods for debugging and logging.

The IDSHelper class offers static methods for debugging and logging information in development mode. It includes methods for printing debug messages and logging JSON objects to the network logger for easier inspection.

The class is designed to help with logging information during development, particularly when using NetworkLogger to capture logs.

Example usage:

IDSHelper.debug("This is a debug message");
IDSHelper.debugJSON({"key": "value"});

Constructors

IDSHelper.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance IDSHelper
Singleton instance of IDSHelper.
getter/setter pair

Static Methods

debug(String s) → void
Prints a debug message to the console if in debug mode.
debugJSON(dynamic s) → void
Logs a JSON object to the network logger if in debug mode.