validateQuote method

String? validateQuote(
  1. String value
)

Implementation

String? validateQuote(String value) {
  if (value.isEmpty) {
    return "Please Enter a Qoute";
  } else {
    return null;
  }
}