ImportDestination.fromJson constructor

ImportDestination.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ImportDestination.fromJson(Map<String, dynamic> json) {
  return ImportDestination(
    contactListDestination: json['ContactListDestination'] != null
        ? ContactListDestination.fromJson(
            json['ContactListDestination'] as Map<String, dynamic>)
        : null,
    suppressionListDestination: json['SuppressionListDestination'] != null
        ? SuppressionListDestination.fromJson(
            json['SuppressionListDestination'] as Map<String, dynamic>)
        : null,
  );
}