toJson method

Map toJson()

Implementation

Map toJson() {
  Map fromObject = {
    "score": score,
  };

  return fromObject;
}