RecentSearch.fromJson constructor

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

Implementation

factory RecentSearch.fromJson(Map<String, dynamic> json) => RecentSearch(
      jid: json["jid"],
      mid: json["mid"],
      searchType: json["search_type"],
      chatType: json["chat_type"],
      isSearch: json["is_search"],
    );