inputWithValidation abstract method

String inputWithValidation({
  1. String prompt = 'input',
  2. required String? validator(
    1. String
    ),
  3. Object? defaultValue,
})

Implementation

String inputWithValidation({
  String prompt = 'input',
  required String? Function(String) validator,
  Object? defaultValue,
});