toString method

  1. @override
String toString()
override

add state data

Implementation

@override
String toString() {
  return json.encode(toJson());
}