EmailValidations extension

on

Methods

isEmail() String?

Available on String?, provided by the EmailValidations extension

isEmail checks against a RegEx to see if the format has, an expample, user@gmail.com. Also, checks if the value is empty or null. Provides basic error message.