V2TimFriendApplicationResult.fromJson constructor

V2TimFriendApplicationResult.fromJson(
  1. Map json
)

Implementation

V2TimFriendApplicationResult.fromJson(Map json) {
  json = Utils.formatJson(json);
  unreadCount = json['unreadCount'];
  if (json['friendApplicationList'] != null) {
    json['friendApplicationList'].forEach((v) {
      friendApplicationList!.add(V2TimFriendApplication.fromJson(v));
    });
  }
}