toJson method

  1. @override
Map<String, Object?> toJson()
override

Copyright (c) 2019 Inomera Research. Author Burak Soykal

Implementation

@override
Map<String, Object?> toJson() {
  Map<String, Object?> map = super.toJson();
  map['ea'] = _id;
  map['eb'] = _name;
  map['eq'] = _price;
  map['ec'] = _count;
  map['ga'] = _categoryIds;
  map['ef'] = _categoryNames;
  map['ef'] = _categoryNames;
  map['eg'] = _keywords;
  return map;
}