ReadCount.fromJson constructor

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

Implementation

factory ReadCount.fromJson(Map<String, dynamic> json) => ReadCount(
      unreadCount: json["unreadCount"],
      userId: json["userId"],
    );