Option constructor

Option(
  1. String label,
  2. int id, {
  3. int? parentId,
  4. String? childrenType,
  5. List<Option>? children,
  6. bool? initialSelected,
})

Implementation

Option(
  this.label,
  this.id, {
  this.parentId,
  this.childrenType,
  this.children,
  this.initialSelected,
});