toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'oId': oId,
      'dataType': dataType,
      'userName': userName,
      'userAvatarURL': avatarURL,
      'content': content,
      'hasRead': hasRead,
      'createTime': createTime,
    };