toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final cancellationDetails = this.cancellationDetails;
  final createTime = this.createTime;
  final cycleEndTime = this.cycleEndTime;
  final endUserEntitled = this.endUserEntitled;
  final freeTrialEndTime = this.freeTrialEndTime;
  final lineItems = this.lineItems;
  final migrationDetails = this.migrationDetails;
  final name = this.name;
  final partnerUserToken = this.partnerUserToken;
  final processingState = this.processingState;
  final products = this.products;
  final promotionSpecs = this.promotionSpecs;
  final promotions = this.promotions;
  final purchaseTime = this.purchaseTime;
  final redirectUri = this.redirectUri;
  final renewalTime = this.renewalTime;
  final serviceLocation = this.serviceLocation;
  final state = this.state;
  final updateTime = this.updateTime;
  final upgradeDowngradeDetails = this.upgradeDowngradeDetails;
  return {
    'cancellationDetails': ?cancellationDetails,
    'createTime': ?createTime,
    'cycleEndTime': ?cycleEndTime,
    'endUserEntitled': ?endUserEntitled,
    'freeTrialEndTime': ?freeTrialEndTime,
    'lineItems': ?lineItems,
    'migrationDetails': ?migrationDetails,
    'name': ?name,
    'partnerUserToken': ?partnerUserToken,
    'processingState': ?processingState,
    'products': ?products,
    'promotionSpecs': ?promotionSpecs,
    'promotions': ?promotions,
    'purchaseTime': ?purchaseTime,
    'redirectUri': ?redirectUri,
    'renewalTime': ?renewalTime,
    'serviceLocation': ?serviceLocation,
    'state': ?state,
    'updateTime': ?updateTime,
    'upgradeDowngradeDetails': ?upgradeDowngradeDetails,
  };
}