toJson method

dynamic toJson()

Implementation

toJson() => {
      'oId': oId,
      'userOId': userOId,
      'userName': userName,
      'userNickname': nickname,
      'userAvatarURL': avatarURL,
      'sysMetal': sysMetal.map((e) => e.toJson()).toList(),
      'client': client,
      'content': content,
      'time': time,
      'redpacket': redpacket?.toJson(),
      'isRedpacket': isRedpacket,
      'via': via.toJson(),
    };