InboxPlacementTrackingOption.fromJson constructor

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

Implementation

factory InboxPlacementTrackingOption.fromJson(Map<String, dynamic> json) {
  return InboxPlacementTrackingOption(
    global: json['Global'] as bool?,
    trackedIsps: (json['TrackedIsps'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}