toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final name = this.name;
  final pointsValue = this.pointsValue;
  final ratio = this.ratio;
  return {'name': ?name, 'pointsValue': ?pointsValue, 'ratio': ?ratio};
}