const factory CustomWidget( {final Key? key, required final String type, final Map<String, Object?>? properties}) = _$CustomWidget;