Constructs the type corresponding to a ‘maybe’ instance containing type type or `Nothing`.
It is appropriate to call [method@GLib.VariantType.free] on the return value.
| element |
an element type |
|
a new ‘maybe’ type Since 2.24 |