V2TimFriendApplicationResult.fromJson constructor

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

Implementation

V2TimFriendApplicationResult.fromJson(Map<String, dynamic> json) {
  unreadCount = json['unreadCount'];
  if (json['friendApplicationList'] != null) {
    json['friendApplicationList'].forEach((v) {
      friendApplicationList!.add(V2TimFriendApplication.fromJson(v));
    });
  }
}