toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'message': messageData.toJson(),
    'finish_reason': finishReason,
  };
}