toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final address = this.address;
  final androidAppLink = this.androidAppLink;
  final category = this.category;
  final contextualKeywords = this.contextualKeywords;
  final dealId = this.dealId;
  final dealName = this.dealName;
  final description = this.description;
  final formattedPrice = this.formattedPrice;
  final formattedSalePrice = this.formattedSalePrice;
  final imageUrl = this.imageUrl;
  final iosAppLink = this.iosAppLink;
  final iosAppStoreId = this.iosAppStoreId;
  final price = this.price;
  final salePrice = this.salePrice;
  final similarDealIds = this.similarDealIds;
  final subtitle = this.subtitle;
  return {
    'address': ?address,
    'androidAppLink': ?androidAppLink,
    'category': ?category,
    'contextualKeywords': ?contextualKeywords,
    'dealId': ?dealId,
    'dealName': ?dealName,
    'description': ?description,
    'formattedPrice': ?formattedPrice,
    'formattedSalePrice': ?formattedSalePrice,
    'imageUrl': ?imageUrl,
    'iosAppLink': ?iosAppLink,
    'iosAppStoreId': ?iosAppStoreId,
    'price': ?price,
    'salePrice': ?salePrice,
    'similarDealIds': ?similarDealIds,
    'subtitle': ?subtitle,
  };
}