V2TimFriendInfoResult.fromJson constructor

V2TimFriendInfoResult.fromJson(
  1. Map json
)

Implementation

V2TimFriendInfoResult.fromJson(Map json) {
  json = Utils.formatJson(json);
  resultCode = json['resultCode'];
  resultInfo = json['resultInfo'];
  relation = json['relation'];
  friendInfo = json['friendInfo'] != null
      ? V2TimFriendInfo.fromJson(json['friendInfo'])
      : null;
}