Option constructor

Option({
  1. List<String> parentIds = const <String>[],
  2. required String id,
  3. String name = "",
  4. bool duplicable = false,
  5. ChartEvent event = const ChartEvent(),
  6. ChartAction action = const ChartAction(),
})

Implementation

Option({this.parentIds = const <String>[],
  required this.id,
  this.name = "",
  this.duplicable = false,
  this.event = const ChartEvent(),
  this.action = const ChartAction()});