inputWithValidation method
Implementation
String inputWithValidation(
String? message, {
required String? Function(String) validator,
Object? defaultValue,
}) =>
actor.inputWithValidation(
prompt: message ?? 'Input:',
validator: validator,
defaultValue: defaultValue,
);