title property

  1. @override
List<String>? title
override

Returns an array of title of the choice

Implementation

@override
List<String>? get title {
  return isNotEmpty
      ? choice.map((S2Choice<T> item) => item.title).toList().cast<String>()
      : null;
}