NotificationBean.fromJson constructor

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

Implementation

factory NotificationBean.fromJson(Map<String, dynamic> json) => NotificationBean(
      isNew: json["isNew"] ?? false,
      list: List<int>.from((json["list"] ?? []).map((x) => x)),
    );