Fwupd.BiosSetting.to_variant

### Method

# Fwupd BiosSettingto_variant

since: 1.8.4

#### Declaration [src]

    GVariant*
    fwupd_bios_setting_to_variant (
      FwupdBiosSetting* self,
      gboolean trusted
    )

#### Description [src]

Serialize the bios setting.

Available since: 1.8.4

#### Parameters

`trusted`

  Type: `gboolean`

  Whether the caller should receive trusted values.

#### Return value

Type: `GVariant`

The serialized data, or `NULL` for error.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.