ContextVarInfo


Description:

public ContextVarInfo (ContextType value_type, Value? default_value = null)

Creates metadata for a non-object context variable.

Use `object` constructor for ReadySet.ContextType.OBJECT. When supplied, `default_value` must have the GLib type represented by `value_type`.

Parameters:

value_type

the type of the context variable

default_value

the value restored by Context.reset, or `null` when the variable has no explicit default