V2TimFriendInfoResult.fromJson constructor

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

Implementation

V2TimFriendInfoResult.fromJson(Map<String, dynamic> json) {
  resultCode = json['resultCode'];
  resultInfo = json['resultInfo'];
  relation = json['relation'];
  friendInfo = json['friendInfo'] != null
      ? V2TimFriendInfo.fromJson(json['friendInfo'])
      : null;
}