createInstanceWithEmptyConstructor abstract method
O?
createInstanceWithEmptyConstructor()
Creates an instance using an empty constructor (if present),
other wise returns null
.
An empty constructor is a named constructor that can be called without parameters.
Will return the first matching constructor in the following order:
- An empty constructor with the names:
empty
,create
ordef
(in this order). - First empty constructor with any name.
Implementation
O? createInstanceWithEmptyConstructor();