selectIndex method

int selectIndex(
  1. String? message, {
  2. required List<String> options,
})

Implementation

int selectIndex(
  String? message, {
  required List<String> options,
}) =>
    actor.selectIndex(
      message ?? 'Select an option:',
      options: options,
    );