Notification.fromJson constructor

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

Implementation

factory Notification.fromJson(Map<String, dynamic> json) => Notification(
      json['id'] as int,
      json['params'] as List<dynamic>,
    );