ABVariant<T> constructor

const ABVariant<T>({
  1. required String name,
  2. required T value,
  3. double weight = 1.0,
})

Implementation

const ABVariant({
  required this.name,
  required this.value,
  this.weight = 1.0,
});