NotificationSettings.fromJson constructor

NotificationSettings.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory NotificationSettings.fromJson(Map<String, dynamic> json) {
  return NotificationSettings(
    enabled: json['enabled'],
    configuration: json['configuration'],
    sound: json['sound'],
    vibrate: json['vibrate'],
  );
}