imageUrl property

String? get imageUrl

notification's image url if specified.

Example:

// Get notification image URL
String? imageUrl = notification.imageUrl;
if (imageUrl != null) {
 print("Notification image URL: $imageUrl");
} else {
 print("Notification has no image URL");
}

Implementation

String? get imageUrl;