NotificationSettings.fromJson constructor
Constructs an instance of NotificationSettings
from a JSON object.
Implementation
factory NotificationSettings.fromJson(Map<String, dynamic> json) =>
NotificationSettings(
title: json['title'] as String,
body: json['body'] as String,
stopButton: json['stopButton'] as String?,
icon: json['icon'] as String?,
);