isEmail function

bool isEmail(
  1. String text
)

Implementation

bool isEmail(String text) {
  return text.contains(email) ? true : false;
}