toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final attributes = this.attributes;
  final contentLanguage = this.contentLanguage;
  final customAttributes = this.customAttributes;
  final dataSource = this.dataSource;
  final name = this.name;
  final promotionId = this.promotionId;
  final promotionStatus = this.promotionStatus;
  final redemptionChannel = this.redemptionChannel;
  final targetCountry = this.targetCountry;
  final versionNumber = this.versionNumber;
  return {
    'attributes': ?attributes,
    'contentLanguage': ?contentLanguage,
    'customAttributes': ?customAttributes,
    'dataSource': ?dataSource,
    'name': ?name,
    'promotionId': ?promotionId,
    'promotionStatus': ?promotionStatus,
    'redemptionChannel': ?redemptionChannel,
    'targetCountry': ?targetCountry,
    'versionNumber': ?versionNumber,
  };
}