SuppressionAttributes.fromJson constructor

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

Implementation

factory SuppressionAttributes.fromJson(Map<String, dynamic> json) {
  return SuppressionAttributes(
    suppressedReasons: (json['SuppressedReasons'] as List?)
        ?.whereNotNull()
        .map((e) => (e as String).toSuppressionListReason())
        .toList(),
  );
}