toJson method

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

Converts an object to JSON.

Implementation

@override
Map<String, dynamic> toJson() {
  final returnValue = <String, dynamic>{
    '\$hash': '257e962b',
    '\$name': 'PremiumGiftCodeOption',
    'flags': flags,
    'users': users,
    'months': months,
    'storeProduct': storeProduct,
    'storeQuantity': storeQuantity,
    'currency': currency,
    'amount': amount,
  };

  // Finished toJson.
  return returnValue;
}