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,
      );