BulkEmailEntryResult.fromJson constructor

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

Implementation

factory BulkEmailEntryResult.fromJson(Map<String, dynamic> json) {
  return BulkEmailEntryResult(
    error: json['Error'] as String?,
    messageId: json['MessageId'] as String?,
    status: (json['Status'] as String?)?.toBulkEmailStatus(),
  );
}