toString method

  1. @override
String toString()
override

Stringtype method called toString

Implementation

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