getMultilineInput function
Iterable<String>
getMultilineInput({
- required String name,
- InputOptions options = const InputOptions(),
Gets the values of a multiline input. Each value is also trimmed.
Implementation
Iterable<String> getMultilineInput({
required String name,
InputOptions options = const InputOptions(),
}) =>
getInput(name: name, options: options)
.split('\n')
.where((value) => value.isNotEmpty)
.toList();