MySelection constructor

const MySelection({
  1. String? choice,
  2. @Default(false) bool isSelected,
  3. @Default(false) bool loading,
})

Implementation

const factory MySelection(
    {String? choice,
    @Default(false) bool isSelected,
    @Default(false) bool loading}) = _MySelection;