has method

  1. @override
bool has(
  1. S2Choice<T> choice
)
override

Returns true if the chosen contains the supplied choice item

Implementation

@override
bool has(S2Choice<T> choice) {
  return this.choice?.contains(choice) ?? false;
}