isSelected property
This is a required field which would be used to differentiate between active and inactive states
Implementation
final bool isSelected;
This is a required field which would be used to differentiate between active and inactive states
final bool isSelected;