toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'userOnlineFlag': isOnline,
      'onlineMinute': onlineMinute,
      'userPointStatus': pointStatus ? 0 : 1,
      'userFollowerStatus': followerStatus ? 0 : 1,
      'userGuideStep': guideStep,
      'userOnlineStatus': onlineStatus ? 0 : 1,
      'userCurrentCheckinStreakStart': currentCheckinStreakStart,
      'chatRoomPictureStatus': isAutoBlur,
      'userTags': tags,
      'userCommentStatus': commentStatus ? 0 : 1,
      'userTimezone': timezone,
      'userURL': homePage,
      'userForwardPageStatus': isEnableForwardPage,
      'userUAStatus': userUAStatus ? 0 : 1,
      'userIndexRedirectURL': userIndexRedirectURL,
      'userLatestArticleTime': latestArticleTime,
      'userTagCount': tagCount,
      'userNickname': nickname,
      'userListViewMode': listViewMode,
      'userLongestCheckinStreak': longestCheckinStreak,
      'userAvatarType': avatarType,
      'userSubMailSendTime': subMailSendTime,
      'userUpdateTime': updateTime,
      'userSubMailStatus': subMailStatus ? 0 : 1,
      'userJoinPointRank': isJoinPointRank ? 0 : 1,
      'userLatestLoginTime': latestLoginTime,
      'userAppRole': userAppRole,
      'userAvatarViewMode': userAvatarViewMode,
      'userStatus': userStatus,
      'userLongestCheckinStreakEnd': longestCheckinStreakEnd,
      'userWatchingArticleStatus': watchingArticleStatus ? 0 : 1,
      'userLatestCmtTime': latestCmtTime,
      'userProvince': province,
      'userCurrentCheckinStreak': currentCheckinStreak,
      'userNo': userNo,
      'userAvatarURL': avatarURL,
      'userFollowingTagStatus': followingTagStatus ? 0 : 1,
      'userLanguage': userLanguage,
      'userJoinUsedPointRank': isJoinUsedPointRank ? 0 : 1,
      'userCurrentCheckinStreakEnd': currentCheckinStreakEnd,
      'userFollowingArticleStatus': followingArticleStatus ? 0 : 1,
      'userKeyboardShortcutsStatus': keyboardShortcutsStatus ? 0 : 1,
      'userReplyWatchArticleStatus': replyWatchArticleStatus ? 0 : 1,
      'userCommentViewMode': commentViewMode,
      'userBreezemoonStatus': breezemoonStatus ? 0 : 1,
      'userCheckinTime': userCheckinTime,
      'userUsedPoint': usedPoint,
      'userArticleStatus': articleStatus ? 0 : 1,
      'userPoint': userPoint,
      'userCommentCount': commentCount,
      'userIntro': userIntro,
      'userMobileSkin': userMobileSkin,
      'userListPageSize': listPageSize,
      'oId': oId,
      'userName': userName,
      'userGeoStatus': geoStatus ? 0 : 1,
      'userLongestCheckinStreakStart': longestCheckinStreakStart,
      'userSkin': userSkin,
      'userNotifyStatus': notifyStatus ? 0 : 1,
      'userFollowingUserStatus': followingUserStatus ? 0 : 1,
      'userArticleCount': articleCount,
      'userRole': userRole,
      'sysMetal': sysMetal.map((e) => e.toJson()).toList(),
    };