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 """
    [June] the improper use of a JuneX has been detected.
    You should only use JuneX or Obx for the specific widget that will be updated.
    If you are seeing this error, you probably did not insert any observable variables into JuneX/Obx
    or insert them outside the scope that JuneX considers suitable for an update
    (example: JuneX => HeavyWidget => variableObservable).
    If you need to update a parent widget and a child widget, wrap each one in an Obx/JuneX.
    """;
}