CometUpdateNotification.fromJson constructor

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

Implementation

CometUpdateNotification.fromJson(Map<String, dynamic> json) {
  if (json['counts'] != null) {
    counts = CometUpdateNotificationCounts.fromJson(json['counts']);
  }
  type = json['type'];
}