Variant constructor

const Variant(
  1. String name
)

Implementation

const Variant(this.name);