addContactFeedback function

String addContactFeedback(
  1. String? value, {
  2. bool hasError = false,
})

Implementation

String addContactFeedback(String? value, {bool hasError = false}) {
  if (hasError) {
    return 'Failed to add $value to your account';
  }
  return 'Successfully added $value to your account';
}