cacheDeliveryReceipt method Null safety
- BaseChannel channel
Implementation
void cacheDeliveryReceipt(BaseChannel channel) {
if (this['delivery_receipt'] != null) {
final status = DeliveryStatus(
channelUrl: channel.channelUrl,
updatedDeliveryReceipt: Map<String, int>.from(this['delivery_receipt']),
);
status.saveToCache();
}
}