VariantExtensions extension

Supported modifications for Variants

on
  • Variant

Methods

withName(String name) → Variant

Available on Variant, provided by the VariantExtensions extension

Returns a copy of this Variant with the new name
withWeight(int weight) → Variant

Available on Variant, provided by the VariantExtensions extension

Returns a copy of this Variant with the new weight