SendBulkEmailResponse.fromJson constructor

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

Implementation

factory SendBulkEmailResponse.fromJson(Map<String, dynamic> json) {
  return SendBulkEmailResponse(
    bulkEmailEntryResults: (json['BulkEmailEntryResults'] as List)
        .whereNotNull()
        .map((e) => BulkEmailEntryResult.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}