Notification.fromJson constructor

Notification.fromJson(
  1. Map json_
)

Implementation

Notification.fromJson(core.Map json_)
    : this(
        body: json_.containsKey('body') ? json_['body'] as core.String : null,
        image:
            json_.containsKey('image') ? json_['image'] as core.String : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );