value property

  1. @override
List<T> value
override

Returns an array of value of the current choice

Implementation

@override
List<T> get value {
  return choice != null && choice.length > 0
      ? choice.map((S2Choice<T> item) => item.value).toList().cast<T>()
      : [];
}