toJson method

dynamic toJson ()

Implementation

toJson() {
  return json.encode(data);
}