SuppressedDestinationSummary.fromJson constructor

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

Implementation

factory SuppressedDestinationSummary.fromJson(Map<String, dynamic> json) {
  return SuppressedDestinationSummary(
    emailAddress: json['EmailAddress'] as String,
    lastUpdateTime:
        nonNullableTimeStampFromJson(json['LastUpdateTime'] as Object),
    reason: (json['Reason'] as String).toSuppressionListReason(),
  );
}