Code inside the covid_api_v2_model file was not well refactored and contained too many unnecessary repetition
Proposed Changes
Changed the code design for the covid_api_v2_model and added a creational design pattern which is the builder pattern
to make the code more readable and manageable
Addtional Info
For builder pattern I removed some unnecessary attributes from models and inherited them from a builder class instead
Related Issue:
Code inside the covid_api_v2_model file was not well refactored and contained too many unnecessary repetition
Proposed Changes
Changed the code design for the covid_api_v2_model and added a creational design pattern which is the builder pattern to make the code more readable and manageable
Addtional Info
For builder pattern I removed some unnecessary attributes from models and inherited them from a builder class instead
Checklist
Screenshots