toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final account = this.account;
final cancellationReason = this.cancellationReason;
final consumers = this.consumers;
final createTime = this.createTime;
final entitlementBenefitIds = this.entitlementBenefitIds;
final inputProperties = this.inputProperties;
final messageToUser = this.messageToUser;
final name = this.name;
final newOfferEndTime = this.newOfferEndTime;
final newOfferStartTime = this.newOfferStartTime;
final newPendingOffer = this.newPendingOffer;
final newPendingOfferDuration = this.newPendingOfferDuration;
final newPendingPlan = this.newPendingPlan;
final offer = this.offer;
final offerDuration = this.offerDuration;
final offerEndTime = this.offerEndTime;
final orderId = this.orderId;
final plan = this.plan;
final product = this.product;
final productExternalName = this.productExternalName;
final provider = this.provider;
final quoteExternalName = this.quoteExternalName;
final state = this.state;
final subscriptionEndTime = this.subscriptionEndTime;
final updateTime = this.updateTime;
final usageReportingId = this.usageReportingId;
return {
'account': ?account,
'cancellationReason': ?cancellationReason,
'consumers': ?consumers,
'createTime': ?createTime,
'entitlementBenefitIds': ?entitlementBenefitIds,
'inputProperties': ?inputProperties,
'messageToUser': ?messageToUser,
'name': ?name,
'newOfferEndTime': ?newOfferEndTime,
'newOfferStartTime': ?newOfferStartTime,
'newPendingOffer': ?newPendingOffer,
'newPendingOfferDuration': ?newPendingOfferDuration,
'newPendingPlan': ?newPendingPlan,
'offer': ?offer,
'offerDuration': ?offerDuration,
'offerEndTime': ?offerEndTime,
'orderId': ?orderId,
'plan': ?plan,
'product': ?product,
'productExternalName': ?productExternalName,
'provider': ?provider,
'quoteExternalName': ?quoteExternalName,
'state': ?state,
'subscriptionEndTime': ?subscriptionEndTime,
'updateTime': ?updateTime,
'usageReportingId': ?usageReportingId,
};
}