WebNotification.fromMap constructor

WebNotification.fromMap(
  1. Map<String, dynamic> map
)

Constructs a WebNotification from a raw Map.

Implementation

factory WebNotification.fromMap(Map<String, dynamic> map) {
  return WebNotification(
    analyticsLabel: map['analyticsLabel'],
    image: map['image'],
    link: map['link'],
  );
}