Flag<T> constructor

Flag<T>({
  1. required String name,
  2. required T value,
  3. required String format(
    1. T value
    ),
  4. required T parse(
    1. String raw
    ),
  5. List<T> examples = const [],
  6. String description = "",
})

Implementation

Flag({
  required this.name,
  required this.value,
  required this.format,
  required this.parse,
  this.examples = const [],
  this.description = "",
});