toJson method

dynamic toJson()

Implementation

toJson() => {
      'oId': oId,
      'userNo': userNo,
      'userName': userName,
      'userNickname': nickname,
      'userURL': userURL,
      'userCity': city,
      'userIntro': intro,
      'userOnlineFlag': isOnline,
      'userPoint': point,
      'userRole': role,
      'userAppRole': appRole.index,
      'userAvatarURL': avatarURL,
      'cardBg': cardBg,
      'followingUserCount': followingCnt,
      'followerCount': followerCnt,
      'onlineMinute': onlineMinute,
      'canFollow': canFollow,
      'allMetalOwned': allMetals.map((e) => e.toJson()).toList(),
      'sysMetal': sysMetal.map((e) => e.toJson()).toList(),
    };