toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final availability = this.availability;
  final collectionTime = this.collectionTime;
  final contentLanguage = this.contentLanguage;
  final feedLabel = this.feedLabel;
  final gtin = this.gtin;
  final name = this.name;
  final offerId = this.offerId;
  final pickupMethod = this.pickupMethod;
  final pickupSla = this.pickupSla;
  final price = this.price;
  final quantity = this.quantity;
  final regionCode = this.regionCode;
  final storeCode = this.storeCode;
  final targetAccount = this.targetAccount;
  return {
    'availability': ?availability,
    'collectionTime': ?collectionTime,
    'contentLanguage': ?contentLanguage,
    'feedLabel': ?feedLabel,
    'gtin': ?gtin,
    'name': ?name,
    'offerId': ?offerId,
    'pickupMethod': ?pickupMethod,
    'pickupSla': ?pickupSla,
    'price': ?price,
    'quantity': ?quantity,
    'regionCode': ?regionCode,
    'storeCode': ?storeCode,
    'targetAccount': ?targetAccount,
  };
}