toJson method

Map<String, dynamic> toJson()

Converts a MessageId object to JSON object

Implementation

Map<String, dynamic> toJson() {
  return {
    'message_id': messageId,
  };
}