UnreadNotificationCounts.fromJson constructor
Implementation
UnreadNotificationCounts.fromJson(Map<String, Object?> json)
: highlightCount = json.tryGet<int>('highlight_count'),
notificationCount = json.tryGet<int>('notification_count');
UnreadNotificationCounts.fromJson(Map<String, Object?> json)
: highlightCount = json.tryGet<int>('highlight_count'),
notificationCount = json.tryGet<int>('notification_count');