toJson method

Map toJson()

Implementation

Map toJson() => {
      'id': super.id,
      'name': _name,
      'points': _points,
      'description': _description,
      'type': _type
    };