V2TimUserInfoResult.fromJson constructor

V2TimUserInfoResult.fromJson(
  1. Map json
)

Implementation

V2TimUserInfoResult.fromJson(Map json) {
  json = Utils.formatJson(json);
  nextCursor = json['nextCursor'];
  if (json['userFullInfoList'] != null) {
    userFullInfoList = List.empty(growable: true);
    json['userFullInfoList'].forEach((v) {
      userFullInfoList!.add(V2TimUserFullInfo.fromJson(v));
    });
  }
}