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 "WaterLineFieldDto [" +
      "id=$id" +
      ", table_field_id=$table_field_id" +
      ", change_type=$change_type_enum" +
      ", user_id=$user_id" +
      ", notify_state=$notify_state_enum" +
      ", value_number=$value_number" +
      ", ui_type=$ui_type" +
      ", local_ts=$local_ts" +
      ", remote_ts=$remote_ts" +
      "]";
}