toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final contactListDestination = this.contactListDestination;
  final suppressionListDestination = this.suppressionListDestination;
  return {
    if (contactListDestination != null)
      'ContactListDestination': contactListDestination,
    if (suppressionListDestination != null)
      'SuppressionListDestination': suppressionListDestination,
  };
}