isSelected property

bool isSelected
final

This is a required field which would be used to differentiate between active and inactive states

Implementation

final bool isSelected;