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