toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final applicableProducts = this.applicableProducts;
  final endTime = this.endTime;
  final freeTrialDuration = this.freeTrialDuration;
  final introductoryPricingDetails = this.introductoryPricingDetails;
  final name = this.name;
  final promotionType = this.promotionType;
  final regionCodes = this.regionCodes;
  final startTime = this.startTime;
  final titles = this.titles;
  return {
    'applicableProducts': ?applicableProducts,
    'endTime': ?endTime,
    'freeTrialDuration': ?freeTrialDuration,
    'introductoryPricingDetails': ?introductoryPricingDetails,
    'name': ?name,
    'promotionType': ?promotionType,
    'regionCodes': ?regionCodes,
    'startTime': ?startTime,
    'titles': ?titles,
  };
}