To make the constructor private, you need to use _ (underscore) which means private . The example below creates a class named MyUtils with a private constructor as the only constructor.
Read moreHow do you call a parent class constructor in darts?
When calling explicitly we make use of super constructor as: Child_class_constructor() :super() { … } Implicit super: In this case, the parent class is called implicitly, when there is object creation of child class.
Read more