encode method
Implementation
Object encode() {
final Map<Object?, Object?> pigeonMap = <Object?, Object?>{};
pigeonMap['platformId'] = platformId;
pigeonMap['platformVariantId'] = platformVariantId;
pigeonMap['name'] = name;
pigeonMap['price'] = price;
pigeonMap['quantity'] = quantity;
pigeonMap['coupon'] = coupon;
return pigeonMap;
}