PushNotificationCounts.fromJson constructor

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

Implementation

factory PushNotificationCounts.fromJson(Map<String, dynamic> json) =>
    PushNotificationCounts(
      missedCalls: json['missed_calls'],
      unread: json['unread'],
    );