Notification.fromJson constructor
Implementation
Notification.fromJson(Map<String, dynamic>? json) {
if (json == null) return;
title = json['title'] as String?;
subtitle = json['subtitle'] as String?;
body = json['body'] as String?;
imageUrl = extractUri(json['imageUrl']);
}