fromJson
Creates a Message object from a JSONObject.
Return
A Message object, or null if the JSONObject is null or missing required fields
Parameters
jsonObject
The JSONObject representation of the message
Creates a Message object from a JSONObject.
A Message object, or null if the JSONObject is null or missing required fields
The JSONObject representation of the message