TUIUserListResult.fromJson constructor

TUIUserListResult.fromJson(
  1. Map<String, dynamic> jsonMap
)

Implementation

TUIUserListResult.fromJson(Map<String, dynamic> jsonMap) {
  nextSequence = jsonMap['next_seq'];
  if (jsonMap['user_info_list'] != null) {
    userInfoList = List.empty(growable: true);
    jsonMap['user_info_list'].forEach((userInfo) {
      userInfoList.add(TUIUserInfo.fromJson(json.decode(userInfo)));
    });
  }
}